/* =================================
   LiberIT - Tech Startup Landing Page
   Custom Styles (Tailwind for layout only)
   ================================= */

/* ===== VARIABLES ===== */
:root {
    /* Colors - LiberIT Brand Palette */
    --primary: #00d4ff;
    --primary-dark: #00b8e0;
    --primary-light: #33ddff;
    --accent: #00c8e8;
    --accent-dark: #00a8c8;

    /* Backgrounds - Pure Black */
    --bg-primary: #000000;
    --bg-secondary: #050505;
    --bg-tertiary: #0a0a0a;
    --bg-card: #111111;

    /* Text */
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #707070;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #00c8e8 50%, #00b8e0 100%);
    --gradient-accent: linear-gradient(135deg, #00d4ff 0%, #00a8c8 100%);
    --gradient-bg: linear-gradient(180deg, #000000 0%, #050505 50%, #0a0a0a 100%);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 40px rgba(0, 212, 255, 0.3);

    /* Spacing */
    --section-padding: 120px;

    /* Typography */
    --font-display: 'Space Grotesk', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', 'Consolas', 'Monaco', 'Courier New', monospace;
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Monospace/IDE font for code elements */
.font-mono,
#code-typing,
.code-window,
#git-history-terminal,
.git-command-text,
.git-commit-line,
.commit-hash,
.commit-message {
    font-family: var(--font-mono);
}

/* ===== NAVIGATION ===== */
nav {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

nav.scrolled {
    background: rgba(0, 0, 0, 0.98) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 212, 255, 0.05);
}

.nav-link-item {
    position: relative;
}

.nav-link-item::before {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link-item:hover::before,
.nav-link-item.active::before {
    width: calc(100% - 32px);
}

.nav-link-item.active {
    color: white;
}

/* ===== BUTTONS ===== */
.btn-primary {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.5);
}

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

.btn-primary:active {
    transform: translateY(0);
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.hero-bg-animated {
    position: absolute;
    inset: 0;
    background: var(--gradient-bg);
}

.hero-bg-animated::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.hero-bg-animated::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 200, 232, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite reverse;
}

/* Grid Pattern Overlay */
.grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
}

/* Hero Content Animations */
.hero-badge {
    animation: slideInDown 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-title {
    animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s backwards;
}

.hero-description {
    animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s backwards;
}

.hero-cta {
    animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.6s backwards;
}

.hero-stats {
    animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.8s backwards;
}

/* Hero Visual */
.hero-visual {
    animation: float 6s ease-in-out infinite;
}

.code-window {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    transition: all 0.3s ease;
}

.code-window:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 212, 255, 0.4);
}

/* ===== CARDS ===== */
.feature-card {
    position: relative;
    background: rgba(17, 17, 17, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-12px);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.2);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.5));
}

/* ===== GLASSMORPHISM CARD ===== */
.glass-card {
    background: rgba(17, 17, 17, 0.5);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-lg);
}

.glass-card:hover {
    background: rgba(17, 17, 17, 0.7);
    border-color: rgba(0, 212, 255, 0.3);
}

/* ===== STATS SECTION ===== */
.stat-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== TIMELINE ===== */
.timeline-item {
    position: relative;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 0;
    background: var(--gradient-primary);
    transition: height 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-item.visible::before {
    height: 100%;
}

/* ===== FAQ ACCORDION ===== */
.faq-item {
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(17, 17, 17, 0.5);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
    border-color: rgba(0, 212, 255, 0.2);
    background: rgba(17, 17, 17, 0.8);
}

.faq-toggle {
    transition: all 0.3s ease;
}

.faq-toggle:hover {
    color: var(--primary-light);
}

.faq-icon {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

/* ===== CTA SECTION ===== */
.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(0, 200, 232, 0.05) 100%);
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite;
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* ===== ANIMATIONS ===== */
@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

/* ===== HOVER EFFECTS ===== */
.hover-lift {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
    transform: translateY(-5px);
}

.hover-glow {
    transition: all 0.3s ease;
}

.hover-glow:hover {
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.5));
}

/* ===== PARTICLES BACKGROUND ===== */
.particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(0, 212, 255, 0.5);
    border-radius: 50%;
    animation: particleFloat 20s infinite;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(100px);
        opacity: 0;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .hero-bg-animated::before,
    .hero-bg-animated::after {
        width: 400px;
        height: 400px;
    }
}

/* ===== UTILITY CLASSES ===== */
.text-gradient-accent {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.border-gradient {
    border: 2px solid transparent;
    background-image:
        linear-gradient(var(--bg-card), var(--bg-card)),
        var(--gradient-primary);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.glow-primary {
    box-shadow: var(--shadow-glow);
}

/* ===== FOOTER ===== */
footer h4 {
    position: relative;
    display: inline-block;
}

footer h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

footer ul li a,
footer ul li span {
    display: inline-block;
    transition: transform 0.3s ease;
}

footer ul li a:hover {
    transform: translateX(4px);
}

/* ===== CODE TYPING CURSOR ===== */
.typing-cursor {
    color: var(--primary);
    font-weight: bold;
    animation: cursorBlink 0.8s infinite;
}

.typing-cursor.blink {
    animation: cursorBlink 0.5s infinite;
}

@keyframes cursorBlink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

/* ===== TEST RUNNER ANIMATION ===== */
.test-item {
    opacity: 0;
    animation: testAppear 0.3s ease-out forwards;
}

.test-icon-wrapper {
    position: relative;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.test-spinner {
    position: absolute;
    inset: 0;
    width: 14px;
    height: 14px;
    border: 2px solid transparent;
    border-top-color: #f59e0b;
    border-radius: 50%;
    animation: testSpin 0.6s linear infinite;
    opacity: 1;
}

.test-check {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(0);
}

.test-time {
    opacity: 0;
}

/* When test is passed */
.test-item.passed .test-spinner {
    opacity: 0;
    animation: none;
}

.test-item.passed .test-check {
    opacity: 1;
    transform: scale(1);
    animation: checkPop 0.3s ease-out;
}

.test-item.passed .test-time {
    opacity: 1;
    animation: fadeIn 0.2s ease-out;
}

@keyframes testAppear {
    0% {
        opacity: 0;
        transform: translateY(5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes testSpin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes checkPop {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Staggered animation delays */
.test-item:nth-child(1) { animation-delay: 0.2s; }
.test-item:nth-child(2) { animation-delay: 0.8s; }
.test-item:nth-child(3) { animation-delay: 1.4s; }
.test-item:nth-child(4) { animation-delay: 2.0s; }
.test-item:nth-child(5) { animation-delay: 2.6s; }
.test-item:nth-child(6) { animation-delay: 3.2s; }
.test-item:nth-child(7) { animation-delay: 3.8s; }
.test-item:nth-child(8) { animation-delay: 4.4s; }

#code-typing {
    line-height: 1.8;
    white-space: pre-wrap;
}

/* ===== LOADING ANIMATION ===== */
.skeleton {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.05) 25%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0.05) 75%
    );
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* ===== GIT HISTORY ANIMATION ===== */
#git-history-terminal .git-command {
    overflow: hidden;
}

#git-history-terminal .git-command-text {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    width: 0;
    border-right: 2px solid #28ca41;
    animation: none;
}

#git-history-terminal .git-command-text.typing {
    animation: gitTyping 1.2s steps(16) forwards, gitCursorBlink 0.5s step-end infinite;
}

#git-history-terminal .git-command-text.done {
    width: auto;
    border-right: none;
    animation: none;
}

.git-commit-line {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.git-commit-line.visible {
    opacity: 1;
    transform: translateX(0);
}

.git-commit-line .commit-hash {
    letter-spacing: 0.5px;
}

.git-commit-line .commit-hash.calculating {
    animation: hashFlicker 0.08s infinite;
}

.git-status-line {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.git-status-line.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Glow effect on new commits */
.git-commit-line.glow {
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.git-commit-line.glow .commit-hash {
    text-shadow: 0 0 8px rgba(234, 179, 8, 0.6);
}

@keyframes gitTyping {
    from { width: 0; }
    to { width: 16ch; }
}

@keyframes gitCursorBlink {
    50% { border-color: transparent; }
}

@keyframes hashFlicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* ===== CI/CD PIPELINE ANIMATION ===== */
#cicd-pipeline {
    font-family: var(--font-mono);
}

.pipeline-job {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pipeline-job.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Job states */
.pipeline-job .pipeline-pending,
.pipeline-job .pipeline-spinner,
.pipeline-job .pipeline-success {
    transition: all 0.3s ease;
}

.pipeline-job.running .pipeline-pending {
    display: none;
}

.pipeline-job.running .pipeline-spinner {
    display: block !important;
}

.pipeline-job.success .pipeline-pending,
.pipeline-job.success .pipeline-spinner {
    display: none !important;
}

.pipeline-job.success .pipeline-success {
    display: block !important;
    animation: pipelineCheckPop 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pipeline-job.success .pipeline-time {
    opacity: 1 !important;
    animation: fadeIn 0.3s ease-out;
}

/* Success state - green border glow */
.pipeline-job.success > div:first-child {
    border-color: rgba(34, 197, 94, 0.4);
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.1);
}

/* Running state - yellow border */
.pipeline-job.running > div:first-child {
    border-color: rgba(234, 179, 8, 0.4);
}

/* Connector animation */
.pipeline-connector {
    transition: background-color 0.3s ease;
}

.pipeline-job.success .pipeline-connector {
    background-color: rgba(34, 197, 94, 0.5);
}

@keyframes pipelineCheckPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.3);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Staggered visibility delays */
.pipeline-job:nth-child(1) { transition-delay: 0.1s; }
.pipeline-job:nth-child(2) { transition-delay: 0.2s; }
.pipeline-job:nth-child(3) { transition-delay: 0.3s; }

/* ===== GITHUB PR CHECKS ANIMATION ===== */
#github-pr {
    font-family: var(--font-mono);
}

.pr-check {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pr-check.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Check states */
.pr-check .check-spinner,
.pr-check .check-success {
    transition: all 0.3s ease;
}

.pr-check.passed .check-spinner {
    display: none !important;
}

.pr-check.passed .check-success {
    display: block !important;
    animation: prCheckPop 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Success state - green border glow */
.pr-check.passed {
    border-color: rgba(34, 197, 94, 0.3);
    background: rgba(34, 197, 94, 0.05);
}

@keyframes prCheckPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.3);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Staggered visibility delays for checks */
.pr-check:nth-child(1) { transition-delay: 0.1s; }
.pr-check:nth-child(2) { transition-delay: 0.2s; }
.pr-check:nth-child(3) { transition-delay: 0.3s; }

/* ===== TECH RADAR ===== */
#tech-radar {
    min-height: 400px;
}

/* Vertical text for quadrant labels */
.writing-mode-vertical {
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

/* Radar Blips */
.radar-blip {
    opacity: 0;
    transform: scale(0);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
}

.radar-blip.visible {
    opacity: 1;
    transform: scale(1);
}

.blip-dot {
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary), 0 0 20px rgba(0, 212, 255, 0.5);
    transition: all 0.3s ease;
    cursor: pointer;
}

.radar-blip:hover .blip-dot {
    transform: scale(1.5);
    box-shadow: 0 0 15px var(--primary), 0 0 30px rgba(0, 212, 255, 0.7);
}

.blip-label {
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    margin-top: 4px;
    font-family: var(--font-mono);
    font-size: 10px;
    color: #a0a0a0;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.radar-blip:hover .blip-label,
.radar-blip.visible .blip-label {
    opacity: 1;
}

/* Radar Sweep Animation */
.radar-sweep {
    pointer-events: none;
}

.sweep-line {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50%;
    height: 1px;
    background: linear-gradient(90deg, var(--primary), transparent);
    transform-origin: left center;
    animation: radarSweep 4s linear infinite;
    opacity: 0.8;
}

@keyframes radarSweep {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Blip pulse animation when sweep passes */
.radar-blip .blip-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid var(--primary);
    opacity: 0;
    animation: blipPulse 2s ease-out infinite;
}

@keyframes blipPulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Staggered blip appearance */
.radar-blip:nth-child(1) { transition-delay: 0.1s; }
.radar-blip:nth-child(2) { transition-delay: 0.2s; }
.radar-blip:nth-child(3) { transition-delay: 0.3s; }
.radar-blip:nth-child(4) { transition-delay: 0.4s; }
.radar-blip:nth-child(5) { transition-delay: 0.5s; }
.radar-blip:nth-child(6) { transition-delay: 0.6s; }
.radar-blip:nth-child(7) { transition-delay: 0.7s; }
.radar-blip:nth-child(8) { transition-delay: 0.8s; }
.radar-blip:nth-child(9) { transition-delay: 0.9s; }
.radar-blip:nth-child(10) { transition-delay: 1.0s; }
.radar-blip:nth-child(11) { transition-delay: 1.1s; }
.radar-blip:nth-child(12) { transition-delay: 1.2s; }

/* ===== JIRA TICKETS FAQ ===== */
.jira-ticket {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.jira-ticket:hover {
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.jira-ticket.resolved {
    border-color: rgba(34, 197, 94, 0.3);
}

.jira-ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.jira-ticket-id {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--primary);
    font-weight: 600;
}

.jira-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.jira-status .status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.jira-status-open {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
}

.jira-status-open .status-dot {
    background: #60a5fa;
}

.jira-status-progress {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
}

.jira-status-progress .status-dot {
    background: #fbbf24;
    animation: statusPulse 1s ease-in-out infinite;
}

.jira-status-resolved {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.jira-status-resolved .status-dot {
    background: #22c55e;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.jira-priority {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

.jira-priority-critical { color: #ef4444; }
.jira-priority-high { color: #f97316; }
.jira-priority-medium { color: #eab308; }
.jira-priority-low { color: #22c55e; }

.jira-label {
    font-family: var(--font-mono);
    font-size: 11px;
    padding: 2px 8px;
    background: rgba(139, 92, 246, 0.2);
    color: #a78bfa;
    border-radius: 3px;
}

.jira-ticket-content {
    width: 100%;
    padding: 16px;
    text-align: left;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
}

.jira-ticket-content:hover {
    background: rgba(255, 255, 255, 0.02);
}

.jira-ticket-title {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 500;
    color: white;
    margin-bottom: 8px;
}

.jira-ticket-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
}

.jira-assignee {
    display: flex;
    align-items: center;
    gap: 8px;
}

.jira-avatar {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary), #0ea5e9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    color: black;
}

.jira-date {
    color: #6b7280;
    font-family: var(--font-mono);
    font-size: 11px;
}

.jira-ticket-description {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.jira-ticket.open .jira-ticket-description {
    max-height: 300px;
}

.jira-description-content {
    padding: 0 16px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 0;
    padding-top: 16px;
}

.jira-section-title {
    font-family: var(--font-mono);
    font-size: 11px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.jira-description-content p {
    color: #9ca3af;
    line-height: 1.6;
    margin-bottom: 12px;
}

.jira-resolution {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 4px;
    border-left: 3px solid #22c55e;
    font-size: 13px;
    color: #86efac;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease 0.2s;
}

.jira-ticket.resolved .jira-resolution {
    opacity: 1;
    transform: translateY(0);
}

.jira-create-btn {
    font-family: var(--font-display);
}

/* Staggered fade in for tickets */
.jira-ticket:nth-child(1) { transition-delay: 0.1s; }
.jira-ticket:nth-child(2) { transition-delay: 0.2s; }
.jira-ticket:nth-child(3) { transition-delay: 0.3s; }
.jira-ticket:nth-child(4) { transition-delay: 0.4s; }

/* ===== CTA TERMINAL ===== */
.cta-terminal {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.95) 100%);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 100px rgba(0, 212, 255, 0.1);
}

.cta-terminal:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 120px rgba(0, 212, 255, 0.15);
}

.terminal-body {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.9) 100%);
}

/* Terminal lines animation */
.terminal-line {
    opacity: 0;
    transform: translateX(-10px);
    animation: terminalLineAppear 0.4s ease-out forwards;
    animation-delay: calc(var(--delay) * 0.3s + 0.5s);
}

@keyframes terminalLineAppear {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Execute button */
.cta-execute-btn {
    font-family: var(--font-mono);
    position: relative;
    overflow: hidden;
}

.cta-execute-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cta-execute-btn:hover::before {
    left: 100%;
}

.cta-execute-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

/* Terminal cursor */
.cta-cursor {
    color: var(--primary);
    animation: cursorBlink 1s step-end infinite;
}

@keyframes cursorBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Terminal input */
.cta-input {
    font-family: var(--font-mono);
    font-size: 14px;
    caret-color: var(--primary);
}

.cta-input::placeholder {
    color: rgba(0, 212, 255, 0.3);
}

.cta-input:focus {
    outline: none;
}

.cta-input:focus + .cta-cursor {
    display: none;
}

/* Terminal output line animation */
.cta-output-line {
    opacity: 0;
    transform: translateY(5px);
    animation: ctaLineAppear 0.3s ease-out forwards;
}

@keyframes ctaLineAppear {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Typing text effect */
.cta-typing-text {
    display: inline;
}

/* Hide cursor when typing is done and input is shown */
#cta-cursor.hidden {
    display: none;
}

/* Contact form spinner */
.cta-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid transparent;
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: ctaSpin 0.6s linear infinite;
}

@keyframes ctaSpin {
    to {
        transform: rotate(360deg);
    }
}

/* Input shake animation for errors */
.cta-input.shake {
    animation: inputShake 0.3s ease-out;
}

@keyframes inputShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
}

/* Form error line */
.cta-form-error {
    animation: ctaErrorAppear 0.3s ease-out forwards;
}

@keyframes ctaErrorAppear {
    0% {
        opacity: 0;
        transform: translateX(-10px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}
