/* ================================
   QVENT CREATIVE - MAIN STYLES
   ================================ */

/* CSS Variables */
:root {
    --bg-primary: #0E0E12;
    --bg-secondary: #111114;
    --bg-card: #161619;
    --accent-primary: #7B61FF;
    --accent-secondary: #8B5CF6;
    --accent-pink: #EC4899;
    --accent-cyan: #06B6D4;
    --text-primary: #FFFFFF;
    --text-secondary: #A1A1AA;
    --text-muted: #71717A;
    --border-color: #27272A;
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

html.lenis {
    height: auto;
}

/* Noise Overlay - applied via body::after */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.015;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    line-height: 1.1;
}

.accent-word {
    color: var(--accent-primary);
    position: relative;
}

.accent {
    color: var(--accent-primary);
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--accent-primary);
    border-radius: 100px;
}

.section-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 2rem;
}

.btn-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    background: var(--accent-primary);
    color: var(--text-primary);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    overflow: hidden;
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(123, 97, 255, 0.4);
}

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

.btn-primary:hover .btn-glow {
    transform: translateX(100%);
}

.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 4rem;
    z-index: 1000;
    background: linear-gradient(to bottom, var(--bg-primary), transparent);
    transition: all var(--transition-medium);
}

.nav.scrolled {
    background: rgba(14, 14, 18, 0.9);
    backdrop-filter: blur(20px);
    padding: 1rem 4rem;
}

.nav-logo span {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0;
    transition: all var(--transition-fast);
}

.nav-logo span .accent {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-logo:hover span {
    filter: brightness(1.2);
}

.nav-logo .logo-img {
    height: 70px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: width var(--transition-medium);
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.cta-link {
    padding: 0.6rem 1.5rem;
    background: var(--accent-primary);
    color: var(--text-primary);
    border-radius: 100px;
}

.nav-link.cta-link::after {
    display: none;
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.nav-hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-fast);
}

.nav-hamburger.active span:first-child {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.active span:last-child {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav {
        padding: 1rem 1.5rem;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--bg-primary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-medium);
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        display: flex;
    }

    .nav-links .nav-link {
        font-family: 'Space Grotesk', sans-serif;
        font-size: 2rem;
        font-weight: 700;
        color: var(--text-primary);
        opacity: 0;
        transform: translateY(20px);
        transition: all var(--transition-medium);
    }

    .nav-links.active .nav-link {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-links.active .nav-link:nth-child(1) {
        transition-delay: 0.1s;
    }

    .nav-links.active .nav-link:nth-child(2) {
        transition-delay: 0.15s;
    }

    .nav-links.active .nav-link:nth-child(3) {
        transition-delay: 0.2s;
    }

    .nav-links.active .nav-link:nth-child(4) {
        transition-delay: 0.25s;
    }

    .nav-links .nav-link::after {
        display: none;
    }

    .nav-links .nav-link.cta-link {
        padding: 0.8rem 2rem;
        font-size: 1.5rem;
    }

    .nav-hamburger {
        display: flex;
    }
}

/* ================================
   HERO SECTION
   ================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 4rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    will-change: transform;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-primary) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    animation: float 15s ease-in-out infinite;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-pink) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
    animation: float 20s ease-in-out infinite reverse;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 10s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(30px, -30px) rotate(5deg);
    }

    50% {
        transform: translate(-20px, 20px) rotate(-5deg);
    }

    75% {
        transform: translate(20px, 30px) rotate(3deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 1000px;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.3s;
}

.hero-title .line {
    display: block;
    overflow: hidden;
}

.hero-title .word {
    display: inline-block;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 3rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.5s;
}

.hero .btn-primary {
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.7s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    opacity: 0;
    animation: fadeIn 1s ease forwards 1s;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--accent-primary), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }

    51% {
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 6rem 1.5rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }
}

/* ================================
   ABOUT SECTION
   ================================ */
.about {
    padding: 8rem 4rem;
    position: relative;
    overflow: hidden;
}

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

.about-content {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.about-content.visible {
    opacity: 1;
    transform: translateX(0);
}

.about-text {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.value-card {
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    text-align: center;
    transition: all var(--transition-medium);
}

.value-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: 0 10px 40px rgba(123, 97, 255, 0.1);
}

.value-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    color: var(--accent-primary);
}

.value-icon svg {
    width: 100%;
    height: 100%;
}

.value-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.value-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.about-visual {
    position: relative;
    height: 500px;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease 0.2s;
}

.about-visual.visible {
    opacity: 1;
    transform: translateX(0);
}

.visual-shape {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-pink));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morphShape 10s ease-in-out infinite;
    opacity: 0.8;
    filter: blur(40px);
}

@keyframes morphShape {

    0%,
    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }

    25% {
        border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
    }

    50% {
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
    }

    75% {
        border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
    }
}

.visual-lines {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
}

.visual-lines svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.animated-path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawLine 3s ease-in-out infinite;
}

.animated-path.delay-1 {
    animation-delay: 0.5s;
}

.animated-path.delay-2 {
    animation-delay: 1s;
}

@keyframes drawLine {

    0%,
    100% {
        stroke-dashoffset: 1000;
    }

    50% {
        stroke-dashoffset: 0;
    }
}

@media (max-width: 1024px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .about-visual {
        height: 300px;
    }

    .values {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .about {
        padding: 4rem 1.5rem;
    }
}

/* ================================
   SERVICES SECTION
   ================================ */
.services {
    padding: 8rem 4rem;
    background: var(--bg-secondary);
    position: relative;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
}

.services-list {
    margin-top: 4rem;
}

.service-item {
    display: grid;
    grid-template-columns: 120px 1fr 60px;
    gap: 2rem;
    align-items: center;
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--transition-medium);
}

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

.service-item:hover {
    padding-left: 2rem;
}

.service-item:hover .service-number {
    color: var(--accent-primary);
    opacity: 1;
}

.service-item:hover .service-title {
    color: var(--accent-primary);
}

.service-item:hover .service-desc {
    opacity: 1;
    max-height: 100px;
    margin-top: 0.5rem;
}

.service-item:hover .service-arrow {
    transform: translateX(10px);
    opacity: 1;
}

.service-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-muted);
    opacity: 0.3;
    transition: all var(--transition-medium);
    -webkit-text-stroke: 0.8px rgba(255, 255, 255, 0.4);
}

.service-content {
    overflow: hidden;
}

.service-title {
    font-size: 1.5rem;
    transition: color var(--transition-fast);
}

.service-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    opacity: 0;
    max-height: 0;
    transition: all var(--transition-medium);
}

.service-arrow {
    width: 40px;
    height: 40px;
    color: var(--accent-primary);
    opacity: 0;
    transform: translateX(-10px);
    transition: all var(--transition-medium);
}

.service-arrow svg {
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    .services {
        padding: 4rem 1.5rem;
    }

    .service-item {
        grid-template-columns: 80px 1fr;
        gap: 1rem;
    }

    .service-number {
        font-size: 2rem;
    }

    .service-arrow {
        display: none;
    }
}

/* ================================
   PORTFOLIO SECTION
   ================================ */
.portfolio {
    padding: 8rem 4rem;
    position: relative;
}

.portfolio-header {
    max-width: 1400px;
    margin: 0 auto 4rem;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.portfolio-item {
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
    cursor: default;
}

.portfolio-item.portfolio-clickable,
.portfolio-item.portfolio-cta-card {
    cursor: pointer;
}

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

.portfolio-image {
    position: relative;
    aspect-ratio: 16/10;
    border-radius: 16px;
    overflow: hidden;
}

.portfolio-placeholder {
    width: 100%;
    height: 100%;
    transition: transform var(--transition-slow);
}

.portfolio-item:hover .portfolio-placeholder {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(14, 14, 18, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-cta {
    padding: 1rem 2rem;
    background: var(--accent-primary);
    color: var(--text-primary);
    font-weight: 600;
    border-radius: 100px;
    transform: translateY(20px);
    opacity: 0;
    transition: all var(--transition-medium);
}

.portfolio-item:hover .portfolio-cta {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-info {
    padding: 1.5rem 0;
}

.portfolio-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.portfolio-category {
    color: var(--text-muted);
    font-size: 0.875rem;
    display: block;
    margin-bottom: 0.75rem;
}

.portfolio-link {
    display: inline-block;
    color: var(--accent-primary);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all var(--transition-fast);
    border-bottom: 1px solid transparent;
}

.portfolio-link:hover {
    border-bottom-color: var(--accent-primary);
    transform: translateX(2px);
}

@media (max-width: 768px) {
    .portfolio {
        padding: 4rem 1.5rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================
   CLIENTS SECTION
   ================================ */
.clients {
    padding: 8rem 4rem;
    background: var(--bg-secondary);
}

.clients-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.clients-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 3rem 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.clients-logos.visible {
    opacity: 1;
    transform: translateY(0);
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-medium);
    filter: grayscale(100%) brightness(0.7);
    opacity: 0.6;
}

.client-logo img {
    max-width: 180px;
    max-height: 75px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.client-logo:hover {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
    transform: scale(1.05);
}

/* Responsive client logos */
@media (max-width: 768px) {
    .clients-logos {
        gap: 1.5rem;
    }
    
    .client-logo img {
        max-width: 135px;
        max-height: 60px;
    }
}

@media (max-width: 480px) {
    .clients-logos {
        gap: 1rem;
    }
    
    .client-logo img {
        max-width: 105px;
        max-height: 48px;
    }
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.testimonial {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: left;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.testimonial.visible {
    opacity: 1;
    transform: translateY(0);
}

.testimonial:hover {
    border-color: var(--accent-primary);
}

.testimonial-stars {
    color: var(--accent-primary);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.author-name {
    font-weight: 600;
    color: var(--text-primary);
}

.author-role {
    font-size: 0.875rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .clients {
        padding: 4rem 1.5rem;
    }

    .testimonials {
        grid-template-columns: 1fr;
    }
}

/* ================================
   CONTACT SECTION
   ================================ */
.contact {
    padding: 8rem 4rem;
    position: relative;
    overflow: hidden;
}

.contact-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.contact-orb {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(123, 97, 255, 0.4) 0%, transparent 70%);
    bottom: -200px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 0;
    animation: pulse-orb 4s ease-in-out infinite;
    box-shadow: 0 0 80px rgba(123, 97, 255, 0.3), inset 0 0 60px rgba(123, 97, 255, 0.2);
}

@keyframes pulse-orb {
    0%, 100% {
        transform: translateX(-50%) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translateX(-50%) scale(1.15);
        opacity: 0.5;
    }
}

.contact-container {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1rem;
}

.contact-text {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.contact-form.visible {
    opacity: 1;
    transform: translateY(0);
}

.form-group {
    position: relative;
    text-align: left;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.25rem 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: border-color var(--transition-fast);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group label {
    position: absolute;
    top: 1.25rem;
    left: 0;
    color: var(--text-muted);
    font-size: 1rem;
    pointer-events: none;
    transition: all var(--transition-fast);
}

.form-group input:focus~label,
.form-group input:not(:placeholder-shown)~label,
.form-group textarea:focus~label,
.form-group textarea:not(:placeholder-shown)~label {
    top: -0.5rem;
    font-size: 0.75rem;
    color: var(--accent-primary);
}

.form-group .form-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: width var(--transition-medium);
}

.form-group input:focus~.form-line,
.form-group textarea:focus~.form-line {
    width: 100%;
}

.contact-form .btn-primary {
    align-self: center;
    margin-top: 1rem;
}

/* Form Success State */
.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 3rem;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

.form-success.show {
    display: flex;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scaleIn 0.5s ease;
}

.success-icon svg {
    width: 40px;
    height: 40px;
    color: var(--text-primary);
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }

    to {
        transform: scale(1);
    }
}

.form-success h3 {
    font-size: 2rem;
    color: var(--text-primary);
}

.form-success p {
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .contact {
        padding: 4rem 1.5rem;
    }
}

/* ================================
   FOOTER
   ================================ */
.footer {
    padding: 0;
    border-top: 1px solid var(--border-color);
    background: #0a0a0a;
    position: relative;
    overflow: hidden;
}

/* Big Statement */
.footer-statement {
    padding: 4rem 4rem 2rem;
    text-align: center;
    pointer-events: none;
}

.footer-statement span {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(3rem, 12vw, 10rem);
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 1px var(--border-color);
    text-stroke: 1px var(--border-color);
    opacity: 0.4;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Footer Grid */
.footer-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 4rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
}

/* Footer Columns */
.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-brand .footer-logo span {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-top: 0.75rem;
    margin-bottom: 1rem;
}

.footer-ico {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.footer-heading {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
    position: relative;
    width: fit-content;
}

.footer-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-primary);
    transition: width var(--transition-fast);
}

.footer-nav a:hover {
    color: var(--text-primary);
}

.footer-nav a:hover::after {
    width: 100%;
}

/* CTA Email */
.footer-cta {
    justify-content: flex-start;
}

.footer-email {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    position: relative;
    transition: all var(--transition-fast);
    display: inline-block;
}

.footer-email::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-medium);
}

.footer-email:hover {
    color: var(--accent-primary);
}

.footer-email:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 1.5rem 4rem;
}

.footer-bottom-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom span {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-privacy {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-privacy:hover {
    color: var(--accent-primary);
}

/* Footer Responsive */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .footer-statement {
        padding: 3rem 1.5rem 1rem;
    }

    .footer-grid {
        padding: 2rem 1.5rem;
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-brand {
        grid-column: span 1;
    }

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

    .footer-nav a {
        width: auto;
    }

    .footer-nav a::after {
        display: none;
    }

    .footer-email {
        font-size: 1.25rem;
    }

    .footer-bottom {
        padding: 1.5rem;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
}

.magnetic {
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

::selection {
    background: var(--accent-primary);
    color: var(--text-primary);
}


::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-secondary);
}


.team {
    padding: 8rem 4rem;
    background: var(--bg-primary);
    position: relative;
}

.team-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.team-cards {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 4rem;
}


.team-card {
    width: 320px;
    height: 450px;
    perspective: 1000px;
    cursor: pointer;
}


.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}


.team-card.flipped .card-inner {
    transform: rotateY(180deg);
}


.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* ===== FRONT SIDE ===== */
.card-front {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    padding: 2rem;
    overflow: hidden;
}


.card-front::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--accent-primary), var(--accent-pink), var(--accent-cyan), var(--accent-primary));
    background-size: 400% 400%;
    border-radius: 22px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: gradientMove 3s ease infinite;
}

.team-card:hover .card-front::after {
    opacity: 1;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}


.card-front::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg,
            transparent 30%,
            rgba(255, 255, 255, 0.1) 45%,
            rgba(255, 255, 255, 0.25) 50%,
            rgba(255, 255, 255, 0.1) 55%,
            transparent 70%);
    transition: left 0.6s ease;
    z-index: 10;
}

.team-card:hover .card-front::before {
    left: 100%;
}

.card-label {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.card-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 2.5rem;
    line-height: 1.1;
}

.card-icon {
    width: 70px;
    height: 70px;
    color: var(--accent-primary);
    margin-bottom: 2.5rem;
}

.card-icon svg {
    width: 100%;
    height: 100%;
}

.card-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    padding: 0.6rem 1.2rem;
    border: 1px solid var(--border-color);
    border-radius: 100px;
    transition: all 0.3s ease;
}

.team-card:hover .card-hint {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

/* ===== BACK SIDE ===== */
.card-back {
    background: var(--bg-card);
    border: 2px solid var(--accent-primary);
    transform: rotateY(180deg);
    padding: 2.5rem;
}

.card-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    border: 3px solid var(--accent-primary);
    overflow: hidden;
}

.card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.member-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.member-role {
    font-size: 0.875rem;
    color: var(--accent-primary);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.member-motto {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-style: italic;
}

/* Team Responsive */
@media (max-width: 768px) {
    .team {
        padding: 4rem 1.5rem;
    }

    .team-cards {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .team-card {
        width: 100%;
        max-width: 320px;
        height: 420px;
    }

    .card-title {
        font-size: 2rem;
    }
}

/* ================================
   BLOG SECTION
   ================================ */
.blog-section {
    padding: 8rem 4rem;
    background: var(--bg-primary);
}

.blog-container {
    max-width: 1400px;
    margin: 0 auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.blog-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all var(--transition-medium);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.blog-card:nth-child(1) {
    animation-delay: 0.1s;
}

.blog-card:nth-child(2) {
    animation-delay: 0.2s;
}

.blog-card:nth-child(3) {
    animation-delay: 0.3s;
}

.blog-card:nth-child(4) {
    animation-delay: 0.4s;
}

.blog-card:nth-child(5) {
    animation-delay: 0.5s;
}

.blog-card:nth-child(6) {
    animation-delay: 0.6s;
}

.blog-card:nth-child(7) {
    animation-delay: 0.7s;
}

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

.blog-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-primary);
    box-shadow: 0 20px 40px rgba(123, 97, 255, 0.15);
}

.blog-card-image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.blog-placeholder {
    width: 100%;
    height: 100%;
    transition: transform var(--transition-slow);
}

.blog-card:hover .blog-placeholder {
    transform: scale(1.1);
}

.blog-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(14, 14, 18, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.blog-card:hover .blog-overlay {
    opacity: 1;
}

.blog-cta {
    padding: 0.75rem 1.5rem;
    background: var(--accent-primary);
    color: var(--text-primary);
    font-weight: 600;
    border-radius: 100px;
    font-size: 0.875rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all var(--transition-medium);
}

.blog-card:hover .blog-cta {
    transform: translateY(0);
    opacity: 1;
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.blog-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-primary);
    padding: 0.25rem 0.75rem;
    border: 1px solid var(--accent-primary);
    border-radius: 100px;
    opacity: 0.8;
}

.blog-card-content h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.blog-card-content h3 a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.blog-card-content h3 a:hover {
    color: var(--accent-primary);
}

.blog-card-content p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.6;
}

/* Blog Responsive */
@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-section {
        padding: 4rem 1.5rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   GDPR / OCHRANA OSOBNÍCH ÚDAJŮ SECTION
   ========================================================================== */

.gdpr-section {
    min-height: 100vh;
    padding: 10rem 2rem 6rem;
    background: var(--bg-primary);
    position: relative;
}

.gdpr-container {
    max-width: 800px;
    margin: 0 auto;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    margin-bottom: 2rem;
}

.back-link svg {
    width: 18px;
    height: 18px;
}

.back-link:hover {
    color: var(--accent-primary);
}

.gdpr-header {
    margin-bottom: 3rem;
}

.gdpr-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.gdpr-date {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.gdpr-content {
    color: var(--text-secondary);
    line-height: 1.8;
}

.gdpr-intro {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.gdpr-content h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.gdpr-content h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.gdpr-content h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-primary);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.gdpr-content p {
    margin-bottom: 1rem;
}

.gdpr-content ul {
    margin: 1rem 0 1.5rem 1.5rem;
    padding: 0;
}

.gdpr-content li {
    margin-bottom: 0.75rem;
    position: relative;
}

.gdpr-content li::marker {
    color: var(--accent-primary);
}

.gdpr-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

.gdpr-content a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.gdpr-content a:hover {
    color: var(--accent-secondary);
    text-decoration: underline;
}

.gdpr-footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .gdpr-section {
        padding: 8rem 1.5rem 4rem;
    }

    .gdpr-content h2 {
        font-size: 1.3rem;
        margin-top: 2rem;
        padding-top: 1.5rem;
    }

    .gdpr-content h3 {
        font-size: 1.1rem;
    }
}

/* ================================
   PORTFOLIO MODAL
   ================================ */

.portfolio-clickable {
    cursor: pointer;
}

.portfolio-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-modal.active {
    opacity: 1;
    visibility: visible;
}

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

.portfolio-modal-content {
    position: relative;
    width: 90%;
    max-width: 600px;
    background: var(--bg-secondary);
    border-radius: 24px;
    border: 1px solid var(--border-color);
    padding: 3rem;
    transform: translateY(30px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(123, 97, 255, 0.1);
}

.portfolio-modal.active .portfolio-modal-content {
    transform: translateY(0) scale(1);
}

.portfolio-modal-close {
    position: absolute;
    top: -40px;
    right: -30px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    z-index: 11;
    flex-shrink: 0;
}

.portfolio-modal-close:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
    transform: rotate(90deg);
}

.portfolio-modal-close svg {
    width: 18px;
    height: 18px;
}

.portfolio-modal-header {
    margin-bottom: 2.5rem;
    margin-top: 0.5rem;
    position: relative;
    padding-right: 60px;
    min-height: 60px;
    display: flex;
    align-items: center;
}

.portfolio-modal-header-left {
    display: flex;
    align-items: center;
    gap: 0;
    flex: 1;
}

.portfolio-modal-header h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.1;
}

.portfolio-year {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent-primary);
    padding: 0.5rem 1rem;
    border: 1px solid var(--accent-primary);
    border-radius: 100px;
    white-space: nowrap;
    flex-shrink: 0;
}

.portfolio-modal-body {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.portfolio-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
}

.portfolio-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.detail-group h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-primary);
    margin: 0 0 1.25rem 0;
}

.detail-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.detail-group li {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

.detail-group li::before {
    display: none;
}

.detail-group p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .portfolio-modal-content {
        padding: 2rem 1.5rem;
        max-width: calc(100vw - 2rem);
    }

    .portfolio-modal-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .portfolio-modal-header h2 {
        font-size: 1.5rem;
    }

    .portfolio-details {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* ================================
   SERVICE MODAL
   ================================ */

.service-clickable {
    cursor: pointer;
}

.service-clickable:hover .service-arrow {
    transform: translateX(5px);
}

.service-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-modal.active {
    opacity: 1;
    visibility: visible;
}

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

.service-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    background: var(--bg-secondary);
    border-radius: 24px;
    border: 1px solid var(--border-color);
    padding: 3rem;
    overflow-y: auto;
    transform: translateY(30px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(123, 97, 255, 0.1);
}

.service-modal.active .service-modal-content {
    transform: translateY(0) scale(1);
}

.service-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    z-index: 10;
}

.service-modal-close:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
    transform: rotate(90deg);
}

.service-modal-close svg {
    width: 20px;
    height: 20px;
}

.service-modal-header {
    text-align: center;
    margin-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-modal-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, rgba(123, 97, 255, 0.1), rgba(236, 72, 153, 0.1));
    border-radius: 20px;
}

.service-modal-icon svg {
    width: 36px;
    height: 36px;
    stroke: url(#icon-gradient);
    stroke: var(--accent-primary);
}

.service-modal-header h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.service-modal-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.service-modal-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.service-modal-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.75rem;
    transition: all var(--transition-medium);
}

.service-modal-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(123, 97, 255, 0.15);
}

.service-modal-card.featured {
    border-color: var(--accent-primary);
    background: linear-gradient(135deg, rgba(123, 97, 255, 0.1), rgba(139, 92, 246, 0.05));
    position: relative;
    overflow: hidden;
}

.service-modal-card.featured::before {
    content: 'Doporučujeme';
    position: absolute;
    top: 35px;
    right: -42px;
    background: var(--accent-primary);
    color: white;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 6px 50px;
    transform: rotate(45deg);
    box-shadow: 0 2px 8px rgba(123, 97, 255, 0.4);
}

.service-modal-card-header {
    margin-bottom: 1rem;
}

.card-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-primary);
    background: rgba(123, 97, 255, 0.15);
    padding: 0.35rem 0.75rem;
    border-radius: 100px;
    margin-bottom: 0.75rem;
}

.service-modal-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

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

.service-modal-footer {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.service-modal-cta {
    display: inline-flex;
}

/* Service Modal Responsive */
@media (max-width: 768px) {
    .service-modal-content {
        padding: 2rem 1.5rem;
        margin: 1rem;
        max-height: calc(100vh - 2rem);
    }

    .service-modal-header h2 {
        font-size: 1.75rem;
    }

    .service-modal-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .service-modal-card.featured::before {
        font-size: 0.6rem;
        padding: 3px 35px;
        top: 30px;
        right: -35px;
    }
}

/* ================================
   CHATBOT Q - QVENT CREATIVE
   ================================ */

/* Floating Button */
.chatbot-trigger {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: var(--accent-primary);
    color: var(--text-primary);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    z-index: 9000;
    transition: all var(--transition-medium);
    box-shadow: 0 4px 24px rgba(123, 97, 255, 0.4);
    /* Initially hidden - appears after 5s delay */
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8) translateY(20px);
}

.chatbot-trigger.visible {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
    animation: chatbotPulse 3s ease-in-out infinite;
}

.chatbot-trigger.visible:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 8px 32px rgba(123, 97, 255, 0.6);
}

.chatbot-trigger.hidden {
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
    pointer-events: none;
}

.chatbot-trigger-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: onlinePulse 2s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
}

@keyframes chatbotPulse {
    0%, 100% {
        box-shadow: 0 4px 24px rgba(123, 97, 255, 0.4);
    }
    50% {
        box-shadow: 0 4px 32px rgba(123, 97, 255, 0.6), 0 0 48px rgba(123, 97, 255, 0.3);
    }
}

@keyframes onlinePulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.2);
    }
}

/* Chat Window */
.chatbot-window {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 380px;
    max-width: calc(100vw - 2rem);
    height: 550px;
    max-height: calc(100vh - 4rem);
    background: var(--bg-secondary);
    border-radius: 24px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(123, 97, 255, 0.2);
    z-index: 9001;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.chatbot-window.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Chat Header */
.chatbot-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, var(--bg-card), var(--bg-secondary));
    border-bottom: 1px solid var(--border-color);
}

.chatbot-header-info {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.chatbot-avatar {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 4px 12px rgba(123, 97, 255, 0.3);
}

.chatbot-header-text h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.chatbot-header-status {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.chatbot-header-status .status-dot {
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
    animation: onlinePulse 2s ease-in-out infinite;
}

.chatbot-close {
    width: 36px;
    height: 36px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.chatbot-close:hover {
    background: var(--border-color);
    color: var(--text-primary);
}

.chatbot-close svg {
    width: 18px;
    height: 18px;
}

/* Chat Messages Container */
.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    scroll-behavior: smooth;
}

.chatbot-messages::-webkit-scrollbar {
    width: 4px;
}

.chatbot-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chatbot-messages::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 2px;
}

/* Chat Message */
.chat-message {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    animation: messageSlide 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.chat-message.bot .message-content {
    align-self: flex-start;
    background: var(--bg-card);
    color: var(--text-primary);
    padding: 1rem 1.25rem;
    border-radius: 18px 18px 18px 4px;
    max-width: 85%;
    font-size: 0.9rem;
    line-height: 1.5;
    border: 1px solid var(--border-color);
}

.chat-message.user .message-content {
    align-self: flex-end;
    background: var(--accent-primary);
    color: var(--text-primary);
    padding: 0.875rem 1.25rem;
    border-radius: 18px 18px 4px 18px;
    max-width: 85%;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Typing Indicator */
.typing-indicator {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 1rem 1.25rem;
    background: var(--bg-card);
    border-radius: 18px 18px 18px 4px;
    align-self: flex-start;
    border: 1px solid var(--border-color);
}

.typing-indicator span {
    width: 6px;
    height: 6px;
    background: var(--text-secondary);
    border-radius: 50%;
    animation: typingBounce 1.4s ease-in-out infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingBounce {
    0%, 60%, 100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-4px);
    }
}

/* Chat Options */
.chat-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
    animation: optionsSlide 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s backwards;
}

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

.chat-option {
    padding: 0.625rem 1rem;
    background: transparent;
    color: var(--accent-primary);
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid var(--accent-primary);
    border-radius: 100px;
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.chat-option:hover {
    background: var(--accent-primary);
    color: var(--text-primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(123, 97, 255, 0.3);
}

.chat-option:active {
    transform: scale(0.96);
}

/* Minimized State Indicator */
.chatbot-minimized-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 20px;
    height: 20px;
    background: var(--accent-pink);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
    color: white;
    opacity: 0;
    transform: scale(0);
    transition: all var(--transition-fast);
}

.chatbot-trigger.has-conversation .chatbot-minimized-badge {
    opacity: 1;
    transform: scale(1);
}

/* Responsive */
@media (max-width: 480px) {
    .chatbot-trigger {
        bottom: 1rem;
        right: 1rem;
        padding: 0.875rem 1.25rem;
        font-size: 0.875rem;
    }

    .chatbot-window {
        bottom: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        height: 100%;
        max-height: 100%;
        border-radius: 0;
    }

    .chatbot-header {
        padding: 1rem 1.25rem;
    }

    .chatbot-messages {
        padding: 1rem;
    }
}