/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --black-primary: #000000;
    --black-secondary: #121212;
    --silver-primary: #ffffff;
    --silver-secondary: #a3a3a3;
    --silver-accent: #e5e5e5;
}

body {
    background-color: var(--black-primary);
    color: var(--silver-primary);
    font-family: 'Inter', sans-serif;
}

/* Utility Classes */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Grid System */
.grid {
    display: grid;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (min-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .lg\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Flex Utilities */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 0.75rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-8 {
    gap: 2rem;
}

.gap-12 {
    gap: 3rem;
}

.space-x-1>*+* {
    margin-left: 0.25rem;
}

.space-x-2>*+* {
    margin-left: 0.5rem;
}

.space-x-4>*+* {
    margin-left: 1rem;
}

.space-x-6>*+* {
    margin-left: 1.5rem;
}

.space-y-4>*+* {
    margin-top: 1rem;
}

.space-y-6>*+* {
    margin-top: 1.5rem;
}

.space-y-8>*+* {
    margin-top: 2rem;
}

/* Spacing */
.p-2 {
    padding: 0.5rem;
}

.p-3 {
    padding: 0.75rem;
}

.p-4 {
    padding: 1rem;
}

.p-6 {
    padding: 1.5rem;
}

.p-8 {
    padding: 2rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.py-20 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

.mb-16 {
    margin-bottom: 4rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.mt-8 {
    margin-top: 2rem;
}

.mt-12 {
    margin-top: 3rem;
}

.mt-20 {
    margin-top: 5rem;
}

/* Typography */
.text-xs {
    font-size: 0.75rem;
}

.text-sm {
    font-size: 0.875rem;
}

.text-base {
    font-size: 1rem;
}

.text-lg {
    font-size: 1.125rem;
}

.text-xl {
    font-size: 1.25rem;
}

.text-2xl {
    font-size: 1.5rem;
}

.text-3xl {
    font-size: 1.875rem;
}

.text-4xl {
    font-size: 2.25rem;
}

.text-5xl {
    font-size: 3rem;
}

.text-6xl {
    font-size: 3.75rem;
}

.text-7xl {
    font-size: 4.5rem;
}

.text-9xl {
    font-size: 6rem;
}

.font-bold {
    font-weight: 700;
}

.font-semibold {
    font-weight: 600;
}

.font-medium {
    font-weight: 500;
}

.font-light {
    font-weight: 300;
}

.tracking-tight {
    letter-spacing: -0.025em;
}

.tracking-wider {
    letter-spacing: 0.05em;
}

.tracking-widest {
    letter-spacing: 0.1em;
}

.text-center {
    text-align: center;
}

.uppercase {
    text-transform: uppercase;
}

/* Colors */
.text-silver-primary {
    color: var(--silver-primary);
}

.text-silver-secondary {
    color: var(--silver-secondary);
}

.text-silver-accent {
    color: var(--silver-accent);
}

.text-black-primary {
    color: var(--black-primary);
}

.text-white {
    color: #ffffff;
}

.text-transparent {
    color: transparent;
}

.bg-black-primary {
    background-color: var(--black-primary);
}

.bg-black-secondary {
    background-color: var(--black-secondary);
}

.bg-silver-primary {
    background-color: var(--silver-primary);
}

.bg-white\/5 {
    background-color: rgba(255, 255, 255, 0.05);
}

.bg-white\/10 {
    background-color: rgba(255, 255, 255, 0.1);
}

.hover\:bg-white\/5:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.hover\:bg-white\/10:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.bg-clip-text {
    -webkit-background-clip: text;
    background-clip: text;
}

.bg-gradient-to-r {
    background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

.bg-gradient-to-b {
    background-image: linear-gradient(to bottom, var(--tw-gradient-stops));
}

.from-silver-primary {
    --tw-gradient-from: var(--silver-primary);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(255, 255, 255, 0));
}

.via-silver-secondary {
    --tw-gradient-stops: var(--tw-gradient-from), var(--silver-secondary), var(--tw-gradient-to, rgba(255, 255, 255, 0));
}

.to-silver-accent {
    --tw-gradient-to: var(--silver-accent);
}

.to-transparent {
    --tw-gradient-to: transparent;
}

/* Borders */
.border {
    border-width: 1px;
}

.border-t {
    border-top-width: 1px;
}

.border-b {
    border-bottom-width: 1px;
}

.border-silver-primary {
    border-color: var(--silver-primary);
}

.border-silver-accent\/10 {
    border-color: rgba(229, 229, 229, 0.1);
}

.border-silver-accent\/20 {
    border-color: rgba(229, 229, 229, 0.2);
}

.border-silver-accent\/30 {
    border-color: rgba(229, 229, 229, 0.3);
}

.rounded {
    border-radius: 0.25rem;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.rounded-xl {
    border-radius: 0.75rem;
}

.rounded-full {
    border-radius: 9999px;
}

/* Effects */
.opacity-0 {
    opacity: 0;
}

.opacity-20 {
    opacity: 0.2;
}

.opacity-50 {
    opacity: 0.5;
}

.opacity-70 {
    opacity: 0.7;
}

.opacity-90 {
    opacity: 0.9;
}

.opacity-100 {
    opacity: 1;
}

.hover\:opacity-90:hover {
    opacity: 0.9;
}

/* Transforms */
.transform {
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.-translate-x-1\/2 {
    --tw-translate-x: -50%;
}

.translate-x-1\/2 {
    --tw-translate-x: 50%;
}

.hover\:scale-105:hover {
    --tw-scale-x: 1.05;
    --tw-scale-y: 1.05;
}

.hover\:scale-110:hover {
    --tw-scale-x: 1.1;
    --tw-scale-y: 1.1;
}

.hover\:-translate-y-2:hover {
    --tw-translate-y: -0.5rem;
}

.group-hover\:translate-x-1:hover .group-hover\:translate-x-1 {
    --tw-translate-x: 0.25rem;
}

/* Transitions */
.transition-all {
    transition-property: all;
}

.transition-colors {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
}

.transition-opacity {
    transition-property: opacity;
}

.transition-transform {
    transition-property: transform;
}

.duration-300 {
    transition-duration: 300ms;
}

.duration-500 {
    transition-duration: 500ms;
}

/* Layout */
.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.fixed {
    position: fixed;
}

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.top-0 {
    top: 0;
}

.left-0 {
    left: 0;
}

.bottom-0 {
    bottom: 0;
}

.bottom-10 {
    bottom: 2.5rem;
}

.w-full {
    width: 100%;
}

.w-12 {
    width: 3rem;
}

.w-px {
    width: 1px;
}

.h-full {
    height: 100%;
}

.h-12 {
    height: 3rem;
}

.h-16 {
    height: 4rem;
}

.min-h-screen {
    min-height: 100vh;
}

.overflow-hidden {
    overflow: hidden;
}

/* Z-index */
.z-50 {
    z-index: 50;
}

.z-10 {
    z-index: 10;
}

.z-\[-1\] {
    z-index: -1;
}

.pointer-events-none {
    pointer-events: none;
}

.cursor-pointer {
    cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
    .text-5xl {
        font-size: 2.5rem;
    }

    .text-7xl {
        font-size: 3.5rem;
    }
}

@media (max-width: 640px) {
    .text-4xl {
        font-size: 2rem;
    }

    .text-7xl {
        font-size: 3rem;
    }

    .hidden {
        display: none;
    }
}

/* Abstract Backgrounds (Black & Silver Theme) */
.bg-liquid-metal {
    background:
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        repeating-linear-gradient(45deg, rgba(20, 20, 20, 1) 0%, rgba(40, 40, 40, 1) 10%, rgba(20, 20, 20, 1) 20%),
        linear-gradient(to bottom, #000000, #1a1a1a);
    background-blend-mode: overlay, normal;
    position: relative;
    overflow: hidden;
    animation: liquid-pulse 10s ease-in-out infinite alternate;
}

.bg-liquid-metal::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(229, 229, 229, 0.15) 0%, transparent 60%);
    opacity: 0.5;
    animation: liquid-flow 25s infinite linear;
}

.bg-circuit-board {
    background-color: #050505;
    background-image:
        linear-gradient(rgba(30, 30, 30, 0.8) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30, 30, 30, 0.8) 1px, transparent 1px),
        radial-gradient(rgba(229, 229, 229, 0.3) 1px, transparent 0);
    background-size: 40px 40px, 40px 40px, 20px 20px;
    background-position: 0 0, 0 0, 10px 10px;
    position: relative;
    overflow: hidden;
}

.bg-circuit-board::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(229, 229, 229, 0.05), transparent 70%);
    animation: circuit-pulse 4s ease-in-out infinite;
}

.bg-silver-mesh {
    background-color: #0a0a0a;
    background-image:
        radial-gradient(circle at center, rgba(229, 229, 229, 0.15) 1px, transparent 1px),
        repeating-radial-gradient(circle at 0 0, transparent 0, #0a0a0a 40px),
        repeating-linear-gradient(rgba(255, 255, 255, 0.03) 0, rgba(255, 255, 255, 0.03) 1px, transparent 1px, transparent 30px);
    background-size: 30px 30px, 100% 100%, 100% 100%;
    animation: mesh-drift 60s linear infinite;
}

.bg-global-network {
    background: radial-gradient(ellipse at bottom, #1a1a1a 0%, #000000 100%);
    position: relative;
    overflow: hidden;
}

.bg-global-network::after {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    left: -50%;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 49px, rgba(229, 229, 229, 0.05) 50px),
        repeating-linear-gradient(90deg, transparent, transparent 49px, rgba(229, 229, 229, 0.05) 50px);
    background-size: 100px 100px;
    transform: perspective(500px) rotateX(60deg) scale(1.5);
    top: -50%;
    opacity: 0.6;
    animation: network-rotate 40s linear infinite;
}

.bg-data-stream {
    background-color: #050505;
    background-image:
        linear-gradient(0deg, transparent 24%, rgba(229, 229, 229, .03) 25%, rgba(229, 229, 229, .03) 26%, transparent 27%, transparent 74%, rgba(229, 229, 229, .03) 75%, rgba(229, 229, 229, .03) 76%, transparent 77%, transparent),
        linear-gradient(90deg, transparent 24%, rgba(229, 229, 229, .03) 25%, rgba(229, 229, 229, .03) 26%, transparent 27%, transparent 74%, rgba(229, 229, 229, .03) 75%, rgba(229, 229, 229, .03) 76%, transparent 77%, transparent);
    background-size: 50px 50px;
}

/* Animations */
@keyframes liquid-flow {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes liquid-pulse {
    0% {
        background-size: 100% 100%, 100% 100%, 100% 100%;
    }

    100% {
        background-size: 110% 110%, 105% 105%, 100% 100%;
    }
}

@keyframes circuit-pulse {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.8;
    }
}

@keyframes mesh-drift {
    0% {
        background-position: 0 0, 0 0, 0 0;
    }

    100% {
        background-position: 100px 100px, 0 0, 0 0;
    }
}

100% {}
}

/* Cinematic Logo Styles */
@keyframes liquid-shimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

.text-liquid-metal {
    background: linear-gradient(90deg,
            #ffffff 0%,
            #9ca3af 20%,
            #ffffff 40%,
            #eaeaea 60%,
            #9ca3af 80%,
            #ffffff 100%);
    background-size: 200% auto;
    color: #fff;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: liquid-shimmer 4s linear infinite;
}

@keyframes prism-rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.prism-container::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: conic-gradient(from 0deg,
            transparent 0deg,
            rgba(255, 255, 255, 0.4) 60deg,
            transparent 120deg,
            transparent 360deg);
    animation: prism-rotate 4s linear infinite;
    border-radius: 10px;
    /* Matching the container rounded-lg */
}

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

    100% {
        transform: translateY(200%);
    }
}

.scanline-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    animation: scanline-scan 3s ease-in-out infinite;
    opacity: 0.5;
}

/* Holographic Effects */
.hologram-avatar {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(229, 229, 229, 0.1), rgba(0, 0, 0, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
}

.hologram-avatar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(transparent 0%,
            rgba(229, 229, 229, 0.05) 1px,
            transparent 2px);
    z-index: 2;
    pointer-events: none;
    animation: scanlines 8s linear infinite;
}

.hologram-avatar::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(229, 229, 229, 0.1) 0%, transparent 70%);
    z-index: 1;
}

.hologram-avatar i {
    z-index: 3;
    filter: drop-shadow(0 0 10px rgba(229, 229, 229, 0.5));
    animation: hologram-flicker 4s infinite alternate;
}

@keyframes scanlines {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(100%);
    }
}

@keyframes hologram-flicker {

    0%,
    100% {
        opacity: 1;
        filter: blur(0px) drop-shadow(0 0 10px rgba(229, 229, 229, 0.5));
    }

    95% {
        opacity: 1;
        filter: blur(0px) drop-shadow(0 0 10px rgba(229, 229, 229, 0.5));
    }

    96% {
        opacity: 0.8;
        filter: blur(1px) drop-shadow(0 0 5px rgba(229, 229, 229, 0.3));
    }

    97% {
        opacity: 1;
        filter: blur(0px) drop-shadow(0 0 10px rgba(229, 229, 229, 0.5));
    }

    98% {
        opacity: 0.9;
        filter: blur(2px) drop-shadow(0 0 2px rgba(229, 229, 229, 0.3));
    }

    99% {
        opacity: 1;
        filter: blur(0px) drop-shadow(0 0 10px rgba(229, 229, 229, 0.5));
    }
}

.silver-glow-border {
    box-shadow: 0 0 15px rgba(229, 229, 229, 0.1);
    transition: box-shadow 0.3s ease;
}

.silver-glow-border:hover {
    box-shadow: 0 0 25px rgba(229, 229, 229, 0.3);
}

/* Holographic Icon (Smaller variant for Service Cards) */
.hologram-icon {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(229, 229, 229, 0.05), rgba(0, 0, 0, 0.6));
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    /* Circular for icons */
    box-shadow: 0 0 15px rgba(229, 229, 229, 0.1), inset 0 0 10px rgba(0, 0, 0, 0.8);
    transition: all 0.5s ease;
}

.hologram-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(transparent 0%,
            rgba(229, 229, 229, 0.1) 1px,
            transparent 3px);
    z-index: 2;
    pointer-events: none;
    animation: scanlines 4s linear infinite;
}

.hologram-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(229, 229, 229, 0.2) 0%, transparent 60%);
    z-index: 1;
}

.group:hover .hologram-icon {
    background: linear-gradient(135deg, rgba(229, 229, 229, 0.1), rgba(0, 0, 0, 0.4));
    box-shadow: 0 0 25px rgba(229, 229, 229, 0.3), inset 0 0 5px rgba(229, 229, 229, 0.1);
    transform: scale(1.1);
}

.hologram-icon i {
    z-index: 3;
    text-shadow: 0 0 5px rgba(229, 229, 229, 0.5);
    transition: all 0.3s ease;
}

.group:hover .hologram-icon i {
    text-shadow: 0 0 15px rgba(229, 229, 229, 0.8), 0 0 25px rgba(229, 229, 229, 0.4);
    color: #fff;
}