:root {
    --bg-color: #0a0a0a;
    --text-primary: #ffffff;
    --text-secondary: #999999;
    --pill-bg: #1f1f1f;
    --pill-text: #ffffff;
    --card-radius: 40px;
    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --accent: #2a2a2a;
    --border: #333333;
    --card-bg: #111111;
}

/* Light Mode */
body.light-mode {
    --bg-color: #ffffff;
    --text-primary: #111111;
    --text-secondary: #666666;
    --pill-bg: #1f1f1f;
    --pill-text: #ffffff;
    --accent: #f5f5f5;
    --border: #e0e0e0;
    --card-bg: #f7f7f7;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-color);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
    cursor: none;
    transition: background-color 0.4s ease, color 0.4s ease;
}

a {
    color: inherit;
    text-decoration: none;
}

.mt-10 {
    margin-top: 15px;
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */
.custom-cursor {
    position: fixed;
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease, background 0.3s ease;
    mix-blend-mode: difference;
}

.custom-cursor.hover {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
    .custom-cursor { display: none; }
    body { cursor: auto; }
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 20px;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 0 40px;
}

.nav-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    justify-self: start;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: -0.5px;
    color: var(--text-primary);
    transition: opacity 0.3s;
}

.logo:hover {
    opacity: 0.6;
}

.nav-pill {
    justify-self: center;
    background-color: var(--pill-bg);
    border-radius: 50px;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-pill a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-pill a:hover,
.nav-pill a.active {
    color: var(--pill-text);
}

.nav-right {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 16px;
}

.theme-toggle {
    background: none;
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.3s, transform 0.3s;
}

.theme-toggle:hover {
    border-color: var(--text-primary);
    transform: rotate(30deg);
}

.nav-cta-btn {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
    padding: 10px 24px;
    border: 1px solid var(--border);
    border-radius: 50px;
    transition: background 0.3s, color 0.3s;
}

.nav-cta-btn:hover {
    background: var(--pill-bg);
    color: white;
}

/* ============================================
   HERO SECTION (Index)
   ============================================ */
.hero {
    text-align: center;
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 100px 40px 60px;
    position: relative;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(79, 172, 254, 0.15) 0%, transparent 60%);
    transform: translate(-50%, -50%);
    z-index: -1;
    pointer-events: none;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
}

.hero p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto;
}

.hero-dynamic strong {
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    border-right: 2px solid #00f2fe;
    padding-right: 4px;
    animation: blink-cursor 0.75s step-end infinite;
}

@keyframes blink-cursor {
    from, to { border-color: transparent }
    50% { border-color: #00f2fe; }
}

/* ============================================
   PROJECT CARDS (Index)
   ============================================ */
.projects {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px 0;
    display: flex;
    flex-direction: column;
}

.project-card {
    position: relative;
    display: block;
    height: 500px;
    border-radius: var(--card-radius);
    overflow: hidden;
    margin-bottom: -40px;
    box-shadow: 0 -15px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.5s ease;
    z-index: 1;
    cursor: pointer;
}

.project-card:nth-child(2) { z-index: 2; }
.project-card:nth-child(3) { z-index: 3; }

.project-card:last-child {
    margin-bottom: 0;
}

.project-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 110%; /* increased height to allow sliding */
    background-size: cover;
    background-position: center;
    transition: top 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.6s ease;
    will-change: transform, top;
}

.project-card:hover .project-bg {
    top: -10%; /* Slide up effect */
}

.project-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 60px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 60%);
    color: white;
    pointer-events: none;
}

.project-content h2 {
    font-family: var(--font-serif);
    font-size: 4rem;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 20px;
}

.project-content p {
    font-size: 1rem;
    max-width: 300px;
    line-height: 1.5;
    opacity: 0.85;
}

/* ============================================
   TECH STACK MARQUEE
   ============================================ */
.tech-marquee-section {
    max-width: 1400px;
    margin: 100px auto 0;
    padding: 0 40px;
    text-align: center;
}

.marquee-title {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--text-secondary);
    text-transform: uppercase;
    margin-bottom: 30px;
}

.marquee-track {
    overflow: hidden;
    padding: 20px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.marquee-inner {
    display: flex;
    gap: 60px;
    animation: marquee 25s linear infinite;
    width: max-content;
}

.tech-logo {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-secondary);
    white-space: nowrap;
    transition: color 0.3s;
    letter-spacing: 1px;
}

.tech-logo:hover {
    color: var(--text-primary);
}

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

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-section {
    max-width: 800px;
    margin: 100px auto 0;
    padding: 0 40px;
    text-align: center;
}

.testimonial-slider {
    margin-top: 40px;
}

.testimonial-track {
    position: relative;
    min-height: 160px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    pointer-events: none;
}

.testimonial-slide.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.testimonial-slide blockquote {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.testimonial-slide cite {
    font-style: normal;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: transparent;
    cursor: pointer;
    transition: background 0.3s, border-color 0.3s;
}

.dot.active {
    background: var(--text-primary);
    border-color: var(--text-primary);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    margin-top: 120px;
    background: var(--card-bg);
    border-top: 1px solid var(--border);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 40px 30px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
}

.footer-brand .logo {
    font-size: 1.3rem;
    display: block;
    margin-bottom: 10px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.company-details {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.footer-links-group {
    display: flex;
    gap: 80px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-col h4 {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.footer-col a {
    color: var(--text-primary);
    font-size: 0.9rem;
    transition: opacity 0.3s;
}

.footer-col a:hover {
    opacity: 0.6;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s, transform 0.3s;
}

.social-links a:hover {
    opacity: 0.7;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* ============================================
   SECURITY SECTION
   ============================================ */
.security-section {
    padding: 80px 40px;
    margin: 40px auto;
    max-width: 1400px;
    background-color: var(--pill-bg);
    border-radius: var(--card-radius);
    border: 1px solid var(--border);
}

/* ============================================
   404 PAGE
   ============================================ */
.page-404 {
    text-align: center;
    padding: 200px 20px 120px;
    max-width: 600px;
    margin: 0 auto;
}

.page-404 .subtitle {
    font-size: 5rem;
    font-family: var(--font-serif);
    color: var(--border);
    letter-spacing: -2px;
    margin-bottom: 10px;
}

.page-404 h1 {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 20px;
}

.page-404 p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 40px;
    line-height: 1.6;
}

.btn-back {
    display: inline-block;
    padding: 12px 28px;
    background: var(--pill-bg);
    color: white;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-back:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* ============================================
   SUBPAGE HERO
   ============================================ */
.subpage-hero {
    text-align: center;
    padding: 180px 20px 60px;
    max-width: 800px;
    margin: 0 auto;
}

.subpage-hero h1 {
    font-family: var(--font-serif);
    font-size: 4rem;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.subpage-hero p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* ============================================
   PROJECT SECTIONS (Realizacie)
   ============================================ */
.project-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 40px;
    border-top: 1px solid var(--border);
    scroll-margin-top: 100px;
}

.section-header {
    margin-bottom: 50px;
}

.section-number {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 12px;
}

.section-header h2 {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.project-list {
    display: flex;
    flex-direction: column;
}

.project-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 30px 0;
    border-bottom: 1px solid var(--border);
    transition: background 0.3s;
    cursor: default;
}

.project-item:first-child {
    border-top: 1px solid var(--border);
}

.project-item:hover {
    background: var(--card-bg);
    padding-left: 20px;
    padding-right: 20px;
    margin-left: -20px;
    margin-right: -20px;
    border-radius: 12px;
}

.project-item-header {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.project-item-header h3 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: -0.3px;
}

.tag {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border: 1px solid var(--border);
    border-radius: 20px;
    color: var(--text-secondary);
    white-space: nowrap;
}

.project-item-content {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
    max-width: 400px;
}

.project-item-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-align: right;
}

.pdf-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    font-family: var(--font-sans);
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
}

.pdf-btn:hover {
    background: var(--pill-bg);
    color: white;
}

/* ============================================
   IMAGE MODAL
   ============================================ */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.image-modal.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    z-index: 1;
    transform: scale(0.9);
    transition: transform 0.4s ease;
}

.image-modal.open .modal-content {
    transform: scale(1);
}

.modal-content img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--pill-bg);
    color: white;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.modal-close:hover {
    transform: scale(1.1);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px 100px;
}

.contact-container {
    display: flex;
    gap: 80px;
    background: var(--card-bg);
    border-radius: var(--card-radius);
    padding: 60px;
    border: 1px solid var(--border);
}

.contact-info {
    flex: 1;
}

.contact-info h2 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 40px;
    letter-spacing: -0.5px;
}

.info-block {
    margin-bottom: 30px;
}

.info-block h4 {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.info-block p, .info-block a {
    color: var(--text-primary);
    font-size: 1rem;
    line-height: 1.6;
    text-decoration: none;
    transition: opacity 0.3s;
}

.info-block a:hover {
    opacity: 0.6;
}

.contact-form-wrapper {
    flex: 1;
}

.contact-form-wrapper h2 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 40px;
    letter-spacing: -0.5px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-family: var(--font-sans);
    font-size: 1rem;
    background: var(--bg-color);
    color: var(--text-primary);
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--text-primary);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.05);
}

.submit-btn {
    padding: 15px 30px;
    background: var(--pill-bg);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    align-self: flex-start;
    margin-top: 10px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px 80px;
}

.about-intro {
    max-width: 800px;
    margin: 0 auto 80px;
    text-align: center;
}

.about-intro p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.about-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.about-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.about-card .card-number {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    display: block;
}

.about-card h3 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 12px;
    line-height: 1.3;
}

.about-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Full-width about card */
.about-card.full-width {
    grid-column: 1 / -1;
}

/* Audience Cards */
.audience-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px 80px;
}

.audience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 50px;
}

.audience-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
}

.audience-card h3 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 16px;
}

.audience-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Capabilities List */
.capabilities-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px 80px;
}

.capabilities-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 40px;
    margin-top: 30px;
}

.capabilities-list li {
    list-style: none;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.capabilities-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--text-secondary);
    border-radius: 50%;
    flex-shrink: 0;
}

/* Trust Banner */
.trust-banner {
    max-width: 800px;
    margin: 0 auto 80px;
    padding: 50px;
    text-align: center;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--card-radius);
}

.trust-banner h3 {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 16px;
}

.trust-banner p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

/* Closing Statement */
.closing-statement {
    max-width: 700px;
    margin: 0 auto 0;
    padding: 0 40px 100px;
    text-align: center;
}

.closing-statement p {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.6;
}


.hero-desc-anim, .hero-title-anim, .contact-headline-anim {
    transition: opacity 1s ease-in-out;
}

/* About Stats (retained for backward compat) */
.about-container {
    display: flex;
    gap: 80px;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-stats {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.stat-box {
    background: var(--card-bg);
    padding: 40px;
    border-radius: var(--card-radius);
    border: 1px solid var(--border);
    text-align: center;
}

.stat-box h3 {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.stat-box p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px 100px;
}

.faq-section h2 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 40px;
    text-align: center;
}

.faq-list {
    display: flex;
    flex-direction: column;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    padding: 24px 0;
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 1.05rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.faq-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--text-secondary);
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.open .faq-answer {
    max-height: 200px;
    padding-bottom: 24px;
}

.faq-answer p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

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

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

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .nav-cta-btn { display: none; }
    .contact-container, .about-container { flex-direction: column; gap: 40px; }
    .about-grid, .audience-grid { grid-template-columns: 1fr; }
    .capabilities-list { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .navbar { padding: 0 20px; top: 10px; }
    .hero { padding: 140px 20px 60px; }
    .hero h1 { font-size: 3rem; }
    .subpage-hero { padding: 140px 20px 40px; }
    .subpage-hero h1 { font-size: 2.5rem; }
    .projects { padding: 0 20px; }
    .project-card { height: 350px; border-radius: 24px; }
    .project-content { padding: 30px 40px; }
    .project-content h2 { font-size: 2.5rem; }
    .nav-pill { display: none; }
    .project-section { padding: 60px 20px; }
    .section-header h2 { font-size: 2rem; }
    .project-item { flex-direction: column; gap: 10px; }
    .project-item-content { align-items: flex-start; }
    .project-item-content p { text-align: left; }
    .footer-top { flex-direction: column; gap: 40px; }
    .footer-links-group { gap: 40px; }
    .footer-container { padding: 40px 20px 20px; }
    .page-404 { padding: 160px 20px 80px; }
    .page-404 h1 { font-size: 2rem; }
    .contact-section, .about-section, .audience-section, .capabilities-section { padding: 0 20px 60px; }
    .contact-container { padding: 30px; border-radius: 24px; }
    .about-stats { grid-template-columns: 1fr; }
    .stat-box { padding: 30px; border-radius: 24px; }
    .about-card { padding: 30px; }
    .tech-marquee-section { margin-top: 60px; padding: 0 20px; }
    .testimonials-section { padding: 0 20px; }
    .testimonial-slide blockquote { font-size: 1.2rem; }
    .trust-banner { padding: 30px; margin: 0 20px 60px; }
    .closing-statement { padding: 0 20px 60px; }
    .faq-section { padding: 0 20px 60px; }
}

/* ============================================
   LANGUAGE TOGGLE
   ============================================ */
.lang-toggle {
    background: none;
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, color 0.3s;
    color: var(--text-primary);
}

.lang-toggle:hover {
    background: var(--text-primary);
    color: var(--bg-color);
}

/* ============================================
   CONTACT FLOW
   ============================================ */
.contact-flow {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
    padding-top: 60px;
    border-top: 1px solid var(--border);
}

.flow-step {
    background: var(--bg-color);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid var(--border);
    position: relative;
}

.flow-step-number {
    position: absolute;
    top: -20px;
    left: 30px;
    background: var(--pill-bg);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.flow-step h4 {
    margin-top: 15px;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.flow-step p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .contact-flow {
        grid-template-columns: 1fr;
    }
}

/* Chat Bubble / Contact FAB */
.chat-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 198, 255, 0.4);
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.chat-fab.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.chat-fab:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 198, 255, 0.6);
}

.chat-fab svg {
    width: 36px;
    height: 36px;
    fill: #ffffff;
    filter: drop-shadow(0px 2px 4px rgba(0,0,0,0.2));
}

@media (max-width: 768px) {
    .chat-fab {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
    .chat-fab svg {
        width: 30px;
        height: 30px;
    }
}

/* ============================================
   MOBILE MENU & HAMBURGER
   ============================================ */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 0;
    margin-left: 15px;
}

.hamburger span {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
    pointer-events: none;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-color);
    backdrop-filter: blur(15px);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.mobile-menu.open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu a {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-menu a:hover, .mobile-menu a.active {
    color: var(--accent-primary);
}

.mobile-menu .mobile-cta {
    margin-top: 20px;
    padding: 12px 30px;
    border: 1px solid var(--accent-primary);
    border-radius: 50px;
    color: var(--accent-primary);
}

.mobile-menu .mobile-cta:hover {
    background: var(--accent-primary);
    color: #fff;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 450px;
    background: rgba(10, 15, 25, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    z-index: 1000;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    gap: 15px;
    transform: translateY(150%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-banner h4 {
    font-size: 1.1rem;
    font-family: var(--font-heading);
    margin-bottom: 5px;
}

.cookie-banner p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 0;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-btn {
    flex: 1;
    padding: 10px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.cookie-btn.accept {
    background: var(--accent-primary);
    color: #ffffff;
    border: none;
}

.cookie-btn.accept:hover {
    background: var(--accent-secondary);
}

.cookie-btn.reject {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-btn.reject:hover {
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 480px) {
    .cookie-banner {
        bottom: 10px;
        left: 10px;
        right: 10px;
    }
    .cookie-buttons {
        flex-direction: column;
    }
}

/* ============================================
   IMAGE GALLERY SLIDER
   ============================================ */
.gallery-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 20px;
}

.gallery-track-wrapper {
    overflow: hidden;
    width: 100%;
    border-radius: 12px;
}

.gallery-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery-slide {
    min-width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gallery-slide img {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 650px;
    border-radius: 8px;
    background: #ffffff; /* Pre pripad, ze su to screenshoty s priehladnym pozadim */
}

.slide-caption {
    margin-top: 15px;
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 500;
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(10, 15, 25, 0.8);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.gallery-arrow:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
}

.gallery-arrow.left {
    left: 10px;
}

.gallery-arrow.right {
    right: 10px;
}

.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.gallery-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    cursor: pointer;
    transition: background 0.3s;
}

.gallery-dot.active {
    background: var(--accent-primary);
}

@media (max-width: 768px) {
    .gallery-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

/* Floating WhatsApp Button */
.float-wa {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.float-wa:hover {
    transform: scale(1.1);
    background-color: #1ebe57;
    box-shadow: 0px 6px 14px rgba(0,0,0,0.4);
    color: #FFF;
}

.float-wa svg {
    width: 35px;
    height: 35px;
}

/* AI pre firmy Logo Styling */
.logo {
    display: flex;
    align-items: center;
}
.footer-brand .logo {
    display: flex;
    align-items: center;
}
.logo-ai {
    font-weight: 800;
    font-size: 1.25em;
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-right: 5px;
    letter-spacing: -1px;
}


@media (max-width: 768px) {
    .navbar {
        padding: 0 15px;
    }
    .nav-container {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }
    .nav-pill {
        display: none;
    }
    .nav-right .nav-cta-btn {
        display: none;
    }
    .nav-right {
        gap: 8px;
    }
    .theme-toggle {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    .hamburger {
        margin-left: 5px;
    }
    .logo-ai {
        font-size: 1.1em;
    }
}
