@font-face {
    font-family: 'Poppins';
    src: url('Fonts/Poppins/Poppins-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Poppins';
    src: url('Fonts/Poppins/Poppins-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Bitter';
    src: url('Fonts/Bitter/Bitter-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Bitter';
    src: url('Fonts/Bitter/Bitter-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

:root {
    /* BRAND PALETTE
       Primary: #1657f9 (Vibrant Blue)
       Secondary: #1cfcff (Bright Cyan)
    */
    --bg-dark: #02040a;
    --bg-panel: #0a1020;
    --primary-blue: #1657f9;
    --accent-cyan: #1cfcff;
    --text-main: #ffffff;
    --text-muted: #94a3b8;
}

body {
    font-family: 'Bitter', serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
}

body.lang-greek {
    font-family: 'Noto Serif', 'Times New Roman', Times, serif;
}

body.lang-greek h1,
body.lang-greek h2,
body.lang-greek h3,
body.lang-greek h4,
body.lang-greek .font-heading,
body.lang-greek .btn-primary {
    font-family: 'Helvetica World', Helvetica, Arial, sans-serif;
}


.font-mono {
    font-family: 'Courier New', monospace;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
            linear-gradient(rgba(28, 252, 255, 0.03) 1px, transparent 1px),
            linear-gradient(90deg, rgba(28, 252, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
    z-index: -1;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translateY(0); }
    100% { transform: translateY(40px); }
}

.text-glow {
    text-shadow: 0 0 20px rgba(28, 252, 255, 0.3);
}

.capability-card {
    background: rgba(10, 16, 32, 0.8);
    border: 1px solid rgba(22, 87, 249, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.capability-card:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px -10px rgba(28, 252, 255, 0.15);
}

.card-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    transition: opacity 0.3s ease;
    z-index: 0;
    filter: grayscale(100%);
}

.capability-card:hover .card-bg-img {
    opacity: 0.25;
}

.card-content {
    position: relative;
    z-index: 1;
}

.btn-primary {
    background: transparent;
    border: 1px solid var(--primary-blue);
    color: var(--primary-blue);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background: var(--primary-blue);
    color: #ffffff;
    box-shadow: 0 0 20px rgba(22, 87, 249, 0.4);
    border-color: var(--primary-blue);
}

.divider-gradient {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-blue), transparent);
    opacity: 0.3;
}

.text-brand-blue { color: var(--primary-blue); }
.text-brand-cyan { color: var(--accent-cyan); }
.border-brand-blue { border-color: var(--primary-blue); }

.pulse-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 20;
    pointer-events: none;
}

.pulse-core {
    width: 20px;
    height: 20px;
    background-color: var(--accent-cyan);
    border-radius: 50%;
    z-index: 10;
    box-shadow: 0 0 20px var(--accent-cyan);
    animation: core-glow 2s ease-in-out infinite;
}

.pulse-ring {
    position: absolute;
    border: 2px solid var(--primary-blue);
    border-radius: 50%;
    opacity: 0;
    animation: ripple 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.pulse-ring:nth-child(2) { animation-delay: 0.5s; }
.pulse-ring:nth-child(3) { animation-delay: 1s; }
.pulse-ring:nth-child(4) { animation-delay: 1.5s; }

@keyframes ripple {
    0% {
        width: 20px;
        height: 20px;
        opacity: 0.8;
        border-width: 3px;
    }
    100% {
        width: 180px;
        height: 180px;
        opacity: 0;
        border-width: 0;
    }
}

@keyframes core-glow {
    0%, 100% { box-shadow: 0 0 20px var(--accent-cyan); transform: scale(1); }
    50% { box-shadow: 0 0 40px var(--accent-cyan); transform: scale(1.2); }
}

.simulation-image-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    background-color: #000;
}

.simulation-image {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.6;
    filter: contrast(1.2) brightness(0.8);
}

.icon-svg {
    width: 40px;
    height: 40px;
    stroke: var(--accent-cyan);
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    margin-bottom: 1rem;
}

.lang-toggle {
    display: flex;
    align-items: center;
    border: 1px solid var(--primary-blue);
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
}
.lang-option {
    padding: 2px 8px;
    font-size: 0.75rem;
    font-family: 'Poppins', sans-serif;
    color: var(--text-muted);
    transition: all 0.3s;
}
.lang-option.active {
    background-color: var(--primary-blue);
    color: white;
}