@tailwind base;
@tailwind components;
@tailwind utilities;
@tailwind variants;

@import url('./index.css');
@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100..900;1,100..900&family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap');
@import url('./fonts/gilroy/stylesheet.css');
@import url('./fonts/custom/stylesheet.css');
@import url('./fonts/texta/stylesheet.css');

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

html {
    scroll-behavior: smooth;
}

body {
    font-size: 1rem;
    font-family: "Space Grotesk", sans-serif;
    position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Orbitron', sans-serif;
}

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

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

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

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

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

.heading-color {
    background: linear-gradient(45deg, #cabbe9, #765fa9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.basic {
    font-family: 'basic';
    font-weight: 600;
}

.nav-link-text {
    font-weight: 500;
}

.active {
    color: #fff;
}

.space-container {
    width: 100%;
    height: 80px;
}

.nav-sub-ul {
    display: block;
}

@media screen and (min-width: 992px) {
    .nav-sub-list:hover .nav-sub-ul {
        display: block;
    }
}

/* Footer */
.footer-container {
    padding: 20px 0 0;
    background-color: #000;
    color: #fff;
}

.footer-sub-container {
    max-width: 1576px;
    margin: 0 auto;
    padding: 20px;
}

.footer-upper-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #717275;
}

.gs-footer-image {
    width: 220px;
}

.footer-middle-section {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    align-items: flex-start;
    justify-content: flex-start;
    gap: 20px;
}

.footer-middle-content-container {
    grid-column: 1/7;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.footer-about-container {
    text-align: justify;
}

.footer-about-us {
    color: #fff;
}

.footer-social-section {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
}

.footer-social-text {
    color: #fff;
}

.footer-social-container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 10px;
}

.footer-social-body {
    text-decoration: none;
    color: #fff;
    width: 30px;
    height: 30px;
    font-size: 17px;
    border: 1px solid #fff;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.footer-contact-section {
    grid-column: 7/13;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.footer-contact-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    margin: 0 0 10px;
    padding: 0 0 10px;
    width: 100%;
    border-bottom: 1px solid #717275;
}

.footer-contact-body:first-child {
    padding-top: 0;
    margin-top: 0;
}

.footer-contact-body:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
}

.footer-contact-heading {
    color: #cabbe9;
    font-size: 20px;
    font-weight: 700;
}

.footer-contact-details {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.footer-contact-link-container,
.footer-contact {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.footer-contact-link-container {
    gap: 0 20px;
}

.footer-contact {
    margin: 0 10px 0 0;
}

.footer-contact-link-text,
.footer-contact-text {
    color: #fff;
    margin-bottom: 0;
}

.footer-contact-link {
    color: #fff;
    text-decoration: none;
}

.footer-contact-link:hover {
    color: #ccc;
}

.footer-lower-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin: 10px 0 0;
    border-top: 1px solid #717275;
    padding-top: 10px;
}

.footer-lower-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
}

.footer-lower-copyright {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.copyright-icon {
    color: #fff;
    font-size: 28px;
    margin-right: 10px;
}

.footer-lower-container p {
    margin-bottom: 0;
    text-align: center;
    color: #fff;
}

.footer-lower-container a {
    color: #fff;
    text-decoration: none;
}

.footer-vertical-border {
    width: 1px;
    height: 20px;
    background-color: #fff;
    margin: 0 5px;
}

/* Hero visual effects (legacy) */
.hero-immersive {
    background: radial-gradient(circle at top left, rgba(10, 10, 10, 0.35), transparent 22%),
        radial-gradient(circle at top right, rgba(202, 187, 233, 0.1), transparent 18%),
        radial-gradient(circle at bottom center, rgba(124, 101, 177, 0.1), transparent 12%),
        #000000;
    position: relative;
    overflow: hidden;
}

.hero-ambient-layer {
    background: radial-gradient(circle at 30% 20%, rgba(202, 187, 233, 0.1), transparent 24%),
        radial-gradient(circle at 75% 18%, rgba(144, 121, 198, 0.1), transparent 16%),
        radial-gradient(circle at 50% 60%, rgba(12, 6, 30, 0.24), transparent 30%);
    animation: heroAmbientShift 24s ease-in-out infinite alternate;
    opacity: 0.95;
}

.hero-data-rain {
    background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 2px 28px;
    opacity: 0.2;
    filter: blur(0.5px);
    animation: heroRain 12s linear infinite;
}

.hero-grid-layer {
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0.6px, transparent 0.6px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 0.6px, transparent 0.6px);
    background-size: 80px 80px;
    opacity: 0.16;
    transform: translateZ(0);
}

.hero-spark-overlay {
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.08), transparent 12%),
        radial-gradient(circle at 85% 35%, rgba(202, 187, 233, 0.1), transparent 10%),
        radial-gradient(circle at 40% 72%, rgba(144, 121, 198, 0.08), transparent 18%);
    opacity: 0.7;
}

.hero-title {
    text-shadow: 0 0 28px rgba(202, 187, 233, 0.14), 0 0 120px rgba(124, 101, 177, 0.08);
}

.hero-cta-primary,
.hero-cta-secondary {
    will-change: transform, box-shadow, filter;
}

.hero-cta-primary:hover,
.hero-cta-secondary:hover {
    transform: translateY(-2px);
}

.hero-meta-grid .glass-pill {
    min-height: 110px;
}

.hero-panel {
    backdrop-filter: blur(18px);
    border-width: 1px;
    border-style: solid;
    border-image-slice: 1;
}

.hero-visual-glow {
    background: radial-gradient(circle at 30% 20%, rgba(202, 187, 233, 0.2), transparent 15%),
        radial-gradient(circle at 70% 40%, rgba(144, 121, 198, 0.15), transparent 12%),
        radial-gradient(circle at 50% 60%, rgba(124, 101, 177, 0.15), transparent 22%);
    opacity: 0.45;
    mix-blend-mode: screen;
}

.hero-visual-ring {
    filter: blur(2px);
}

.hero-scroll-hint {
    letter-spacing: 0.26em;
}

.hero-copy .glass-pill,
.hero-panel>div {
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.hero-copy .glass-pill:hover,
.hero-panel>div:hover {
    transform: translateY(-2px);
    background-color: rgba(255, 255, 255, 0.08);
}

.hero-visual .hero-panel {
    pointer-events: none;
}

.hero-visual .hero-panel>div,
.hero-visual .hero-panel>.hero-panel {
    pointer-events: auto;
}

#hero-canvas-wrap canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

.hero-launch {
    position: relative;
    overflow: hidden;
}

.hero-fluid-bg {
    background: radial-gradient(circle at 20% 20%, rgba(124, 101, 177, 0.1), transparent 18%),
        radial-gradient(circle at 80% 25%, rgba(202, 187, 233, 0.08), transparent 18%),
        radial-gradient(circle at 50% 80%, #000000, transparent 65%);
    filter: blur(1px);
}

.hero-border-lines .border-line {
    position: absolute;
}

.hero-title {
    text-shadow: 0 0 26px rgba(202, 187, 233, 0.18), 0 0 80px rgba(124, 101, 177, 0.08);
}

.hero-cta-primary,
.hero-cta-secondary {
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.hero-cta-primary:hover,
.hero-cta-secondary:hover {
    transform: translateY(-2px);
}

.glass-metric,
.hero-panel-card,
.hero-card-top,
.hero-card-chart,
.hero-card-footer {
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.16);
}

.hero-panel-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 10, 10, 0.88);
}

.hero-card-top,
.hero-card-chart,
.hero-card-footer {
    background: rgba(5, 5, 5, 0.88);
}

.hero-card-chart .chart-line {
    mix-blend-mode: screen;
}

.hero-card-chart {
    position: relative;
}

.hero-card-chart::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 20%, rgba(202, 187, 233, 0.12), transparent 14%);
    pointer-events: none;
}

@keyframes heroAmbientShift {
    0% {
        transform: scale(1.02);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1.0);
    }
}

@keyframes heroRain {
    0% {
        background-position: 0 0;
    }

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

/* Responsive */
@media screen and (max-width: 1024px) {
    .hero-copy {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 520px;
    }

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

@media screen and (max-width: 576px) {
    .hero-visual {
        min-height: 420px;
        border-radius: 28px;
    }

    .hero-panel {
        width: calc(100% - 2rem);
        left: 1rem !important;
        right: auto !important;
        top: auto !important;
    }

    .hero-panel.hero-panel-2,
    .hero-panel.hero-panel-3 {
        right: 1rem !important;
    }
}

@media screen and (max-width: 1024px) {
    .footer-middle-content-container {
        grid-column: 1/13;
    }

    .footer-contact-section {
        grid-column: 1/13;
    }

    .footer-social-text {
        width: 90px;
    }

    .footer-about-us {
        margin-bottom: 0;
    }
}

@media screen and (max-width: 576px) {
    .footer-contact-link-container {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 2px;
        margin-top: 10px;
    }

    .footer-middle-section {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .footer-social-section {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 0px 20px;
        margin-bottom: 10px;
    }
}

/* CYBERPUNK 2077 HUD - NEW DIGITAL COMMAND CORE STYLES */

@keyframes radarRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes radarSweep {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes dashMove {
    to {
        stroke-dashoffset: -40px;
    }
}

@keyframes pulseIndicator {
    0%, 100% { opacity: 0.5; transform: scale(1); box-shadow: 0 0 4px rgba(144, 121, 198, 0.4); }
    50% { opacity: 1; transform: scale(1.1); box-shadow: 0 0 14px rgba(144, 121, 198, 0.9); }
}

@keyframes scanLineMove {
    0% { top: 0%; }
    50% { top: 100%; }
    100% { top: 0%; }
}

/* Clipped-Corner Premium Button */
.btn-cyber-hero {
    position: relative;
    padding: 16px 48px !important;
    background: rgba(144, 121, 198, 0.05) !important;
    color: #fff !important;
    font-family: 'Orbitron', sans-serif !important;
    font-weight: 900 !important;
    letter-spacing: 0.25em !important;
    text-transform: uppercase !important;
    border: 2px solid #9079c6 !important; /* theme violet */
    box-shadow: 0 0 20px rgba(144, 121, 198, 0.15), inset 0 0 15px rgba(144, 121, 198, 0.08) !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    cursor: pointer;
    overflow: hidden;
    clip-path: polygon(0 0, 85% 0, 100% 40%, 100% 100%, 15% 100%, 0 60%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.btn-cyber-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(144, 121, 198, 0.45), transparent);
    transition: all 0.6s ease;
}

.btn-cyber-hero:hover::before {
    left: 100%;
}

.btn-cyber-hero:hover {
    border-color: #f43f5e !important; /* neon rose */
    color: #fff !important;
    box-shadow: 0 0 30px rgba(244, 63, 94, 0.6), inset 0 0 20px rgba(244, 63, 94, 0.3) !important;
    transform: translateY(-3px) scale(1.02);
}

/* Clipped-Corner Countdown Panel */
.cyber-timer-panel {
    background: rgba(4, 4, 10, 0.75) !important;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(144, 121, 198, 0.25) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 
                0 0 25px rgba(144, 121, 198, 0.06), 
                inset 0 0 20px rgba(144, 121, 198, 0.05) !important;
    padding: 20px 32px !important;
    position: relative;
    border-radius: 0px !important;
    clip-path: polygon(0 0, 95% 0, 100% 15px, 100% 100%, 5% 100%, 0 calc(100% - 15px));
    width: fit-content;
}

.cyber-timer-val {
    font-family: 'Share Tech Mono', monospace !important;
    color: #cabbe9 !important; /* theme soft lavender */
    text-shadow: 0 0 8px rgba(202, 187, 233, 0.7), 0 0 15px rgba(202, 187, 233, 0.2);
}

.cyber-timer-lbl {
    font-family: 'Orbitron', sans-serif !important;
    color: #94a3b8 !important;
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Holographic Floating Console */
.holo-console {
    background: rgba(4, 4, 12, 0.65) !important;
    backdrop-filter: blur(30px) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.8), 
                0 0 50px rgba(99, 102, 241, 0.12), 
                inset 0 0 25px rgba(255, 255, 255, 0.02) !important;
    border-radius: 16px !important;
    position: relative;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.holo-console:hover {
    border-color: rgba(6, 182, 212, 0.28) !important;
    box-shadow: 0 45px 95px rgba(0, 0, 0, 0.9), 
                0 0 65px rgba(6, 182, 212, 0.25), 
                inset 0 0 35px rgba(6, 182, 212, 0.08) !important;
    transform: translateY(-8px) scale(1.005) !important;
}

/* Circular Radar Scanner */
.radar-scanner-box {
    position: relative;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 1px solid rgba(6, 182, 212, 0.15);
    background: radial-gradient(circle, rgba(6, 182, 212, 0.03) 0%, transparent 80%);
    overflow: hidden;
}

.radar-sweep-line {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50%;
    height: 50%;
    background: linear-gradient(45deg, rgba(6, 182, 212, 0.4) 0%, transparent 70%);
    transform-origin: top left;
    animation: radarSweep 4s linear infinite;
    pointer-events: none;
}

.hud-radar-ring {
    animation: radarRotate 25s linear infinite;
    transform-origin: center;
}

.hud-radar-ring-reverse {
    animation: radarRotate 18s linear infinite reverse;
    transform-origin: center;
}

/* Surveillance CCTV Viewport */
.cctv-viewport {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    overflow: hidden;
}

.cctv-viewport::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(202, 187, 233, 0.2);
    animation: scanLineMove 6s linear infinite;
    pointer-events: none;
    z-index: 10;
}

.hud-graph-path-cyan {
    stroke: #cabbe9; /* theme soft lavender */
    stroke-width: 2;
    fill: none;
    stroke-dasharray: 8px 4px;
    animation: dashMove 2.5s linear infinite;
}

.hud-graph-path-purple {
    stroke: #818cf8; /* indigo-400 */
    stroke-width: 1.5;
    fill: none;
    stroke-dasharray: 5px 3px;
    animation: dashMove 1.8s linear infinite;
}

.hud-pulse-dot {
    animation: pulseIndicator 1.8s ease-in-out infinite;
}

.hud-terminal-log {
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.65);
    background: rgba(4, 4, 10, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 12px;
    border-radius: 6px;
}

.hud-stat-box {
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(6, 6, 14, 0.55);
    padding: 10px 14px;
    font-family: 'Share Tech Mono', monospace;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.hud-stat-box:hover {
    border-color: rgba(6, 182, 212, 0.3);
    background: rgba(6, 182, 212, 0.05);
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.05);
}