/* Skip to main content link - WCAG 2.2 compliance */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #1a3d0a;
    color: #ffffff;
    padding: 8px 16px;
    text-decoration: none;
    z-index: 10000;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    border: 2px solid #ffffff;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid #ffffff;
    outline-offset: 2px;
}

/* Global reset for body/html */
html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}

body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    background-color: #000;
    position: static !important;
    transform: none !important;
    will-change: auto !important;
}

/* Reset tylko w obrębie komponentu */
.top-asystent-hero,
.top-asystent-hero * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.top-asystent-hero {
    position: relative;
    display: block;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
}

.top-asystent-hero .hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
}

/* Video Background */
.top-asystent-hero .hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: 1;
    object-fit: cover;
    object-position: center;
}

/* Gradient Overlay */
.top-asystent-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: 
        linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.6) 100%),
        linear-gradient(45deg, rgba(0, 0, 0, 0.4) 0%, transparent 35%, transparent 65%, rgba(0, 0, 0, 0.4) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.7) 100%);
    pointer-events: none;
}

/* ========================================
   NAVIGATION - COMPLETELY NEW FROM SCRATCH
   ======================================== */

/* Main Navigation - ABSOLUTE POSITION */
.main-nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 999999;
    background: transparent;
    margin: 0;
    padding: 0;
    pointer-events: auto;
}

.main-nav.nav-hidden {
    display: none !important;
}

.main-nav-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 40px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 30px;
    position: relative;
}

.main-nav-left {
    display: flex;
    align-items: center;
    gap: clamp(15px, 3vw, 35px);
    justify-content: flex-end;
}

.main-nav-right {
    display: flex;
    align-items: center;
    gap: clamp(15px, 3vw, 35px);
    justify-content: flex-start;
}

.main-nav-link {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(0.75rem, 1.2vw, 0.95rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.main-nav-link:hover {
    color: white;
}

.main-nav-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.main-logo-img {
    height: 120px;
    width: auto;
    object-fit: contain;
}

/* Mobile Menu Toggle */
.main-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 101;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.main-nav-toggle span {
    width: 25px;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
    transform-origin: center;
}

.main-nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.main-nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.main-nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu */
.main-nav-mobile {
    display: none;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.95);
    padding: 80px 40px 40px;
    gap: 25px;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.main-nav-mobile.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.main-nav-mobile-link {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 12px 0;
    transition: color 0.3s ease;
}

.main-nav-mobile-link:hover {
    color: white;
}

/* Content Container */
.top-asystent-hero .hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 100%;
    padding: 60px 40px;
    display: grid;
    grid-template-rows: auto 1fr auto auto;
    gap: 30px;
    color: white;
}

/* Brand Label */
.top-asystent-hero .brand-label {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 400;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    opacity: 0.9;
    text-align: left;
    animation: fadeInDown 0.8s ease-out;
    text-shadow: 1px 2px 10px rgba(0, 0, 0, 0.5);
}

/* Main Title - "Magia Natury" */
.top-asystent-hero .hero-main-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    line-height: 0.85;
    margin: 20px 0;
}

.top-asystent-hero .title-line {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: clamp(3.2rem, 10vw, 9.5rem);
    display: block;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 1) 0%, 
        rgba(255, 255, 255, 0.95) 30%,
        rgba(240, 255, 240, 0.9) 60%,
        rgba(255, 255, 255, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.3);
    animation: slideInLeft 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    letter-spacing: -0.02em;
}

.top-asystent-hero .title-line-1 {
    margin-left: 0;
    animation-delay: 0.2s;
    animation-fill-mode: both;
}

.top-asystent-hero .title-line-2 {
    margin-left: clamp(60px, 15vw, 200px);
    animation-delay: 0.4s;
    animation-fill-mode: both;
    margin-top: -10px;
}

/* Title Sections - dwa tytuły po bokach */
.top-asystent-hero .title-sections {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    padding: 0 20px;
}

.top-asystent-hero .title-section {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: clamp(1.2rem, 3vw, 2rem);
    line-height: 1.4;
    text-shadow: 2px 3px 15px rgba(0, 0, 0, 0.7);
    opacity: 0.95;
    animation: fadeInUp 1s ease-out;
}

.top-asystent-hero .title-left {
    text-align: left;
    animation-delay: 0.6s;
    animation-fill-mode: both;
    border-left: 2px solid rgba(255, 255, 255, 0.3);
    padding-left: 30px;
}

.top-asystent-hero .title-right {
    text-align: right;
    animation-delay: 0.8s;
    animation-fill-mode: both;
    border-right: 2px solid rgba(255, 255, 255, 0.3);
    padding-right: 30px;
}

/* CTA Wrapper */
.top-asystent-hero .cta-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 20px;
    animation: fadeInUp 1s ease-out 1s both;
}

.top-asystent-hero .hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(0.85rem, 1.5vw, 1rem);
    font-weight: 400;
    color: white;
    text-decoration: none;
    text-transform: none;
    letter-spacing: 0.05em;
    background: transparent;
    backdrop-filter: none;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 2px;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.6);
    box-shadow: none;
    position: relative;
    overflow: visible;
}

.top-asystent-hero .hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: width 0.4s ease;
    z-index: -1;
}

.top-asystent-hero .hero-cta:hover::before {
    width: 100%;
}

.top-asystent-hero .hero-cta:hover {
    transform: translateY(-2px);
    background: transparent;
    border-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.top-asystent-hero .hero-cta:active {
    transform: translateY(0);
}

.top-asystent-hero .cta-arrow {
    font-size: 1.2em;
    transition: transform 0.3s ease;
    line-height: 1;
}

.top-asystent-hero .hero-cta:hover .cta-arrow {
    transform: translateX(3px);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Mobile Responsive */
@media (max-width: 1024px) {
    .main-nav-wrapper {
        padding: 12px 30px;
        gap: 20px;
    }
    
    .main-nav-left,
    .main-nav-right {
        gap: 20px;
    }
    
    .top-asystent-hero .hero-content {
        grid-template-rows: auto 1fr auto auto;
        align-items: center;
        justify-items: center;
    }
    
    .top-asystent-hero .hero-content .brand-label {
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        align-self: start;
    }
    
    .top-asystent-hero .hero-content .hero-main-title {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        text-align: center;
    }
    
    .top-asystent-hero .hero-content .title-sections {
        display: grid;
        grid-template-columns: 1fr;
        align-items: center;
        justify-items: center;
        text-align: center;
        align-self: end;
        gap: 30px;
        padding: 0 15px;
    }
    
    .top-asystent-hero .hero-content .cta-wrapper {
        align-self: end;
        justify-self: center;
    }
    
    .top-asystent-hero .title-line-2 {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .main-nav-wrapper {
        grid-template-columns: 1fr auto 1fr;
        padding: 12px 20px;
        gap: 15px;
    }
    
    .main-nav-left,
    .main-nav-right {
        display: none;
    }
    
    .main-nav-toggle {
        display: flex;
    }
    
    .main-nav-logo {
        grid-column: 2;
        padding: 0 10px;
    }
    
    .main-nav-mobile {
        display: flex;
    }
    
    .top-asystent-hero .hero-section {
        height: 100vh;
        min-height: 100vh;
        max-height: 100vh;
    }
    
    .top-asystent-hero .hero-content {
        padding: 40px 20px;
        padding-top: 100px;
        grid-template-rows: auto 1fr auto auto;
        gap: 25px;
        align-items: center;
        justify-items: center;
    }
    
    .top-asystent-hero .hero-content .brand-label {
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        align-self: start;
    }
    
    .top-asystent-hero .hero-content .hero-main-title {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        text-align: center;
    }
    
    .top-asystent-hero .hero-content .title-sections {
        display: grid;
        grid-template-columns: 1fr;
        align-items: center;
        justify-items: center;
        text-align: center;
        align-self: end;
        gap: 30px;
        padding: 0;
    }
    
    .top-asystent-hero .hero-content .cta-wrapper {
        align-self: end;
        justify-self: center;
    }
    
    .top-asystent-hero .title-section {
        font-size: clamp(1.1rem, 4vw, 1.5rem);
        text-align: center;
    }
    
    .top-asystent-hero .title-left {
        border-left: none;
        border-top: none;
        padding-left: 0;
        padding-top: 0;
    }
    
    .top-asystent-hero .title-right {
        border-right: none;
        border-bottom: none;
        padding-right: 0;
        padding-bottom: 0;
        text-align: center;
    }
    
    .top-asystent-hero .title-line-2 {
        margin-left: 0;
    }
    
    .top-asystent-hero .hero-main-title {
        align-items: center;
        text-align: center;
    }
    
    .top-asystent-hero .brand-label {
        text-align: center;
    }
    
    .top-asystent-hero .hero-cta {
        padding: 9px 22px;
        font-size: clamp(0.8rem, 2vw, 0.95rem);
    }
}

@media (max-width: 480px) {
    .main-nav-wrapper {
        padding: 10px 15px;
    }
    
    .main-nav-toggle {
        right: 15px;
    }
    
    .main-nav-mobile {
        padding: 70px 30px 30px;
    }
    
    .top-asystent-hero .hero-section {
        height: 100vh;
        min-height: 100vh;
        max-height: 100vh;
    }
    
    .top-asystent-hero .hero-content {
        padding: 30px 15px;
        padding-top: 90px;
        gap: 20px;
        grid-template-rows: auto 1fr auto auto;
        align-items: center;
        justify-items: center;
    }
    
    .top-asystent-hero .hero-content .brand-label {
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        align-self: start;
    }
    
    .top-asystent-hero .hero-content .hero-main-title {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        text-align: center;
    }
    
    .top-asystent-hero .hero-content .title-sections {
        display: grid;
        grid-template-columns: 1fr;
        align-items: center;
        justify-items: center;
        text-align: center;
        align-self: end;
        gap: 25px;
        padding: 0;
    }
    
    .top-asystent-hero .hero-content .cta-wrapper {
        align-self: end;
        justify-self: center;
    }
    
    .top-asystent-hero .title-line {
        font-size: clamp(3rem, 15vw, 8rem);
    }
    
    .top-asystent-hero .title-line-2 {
        margin-left: 0;
        margin-top: -5px;
    }
    
    .top-asystent-hero .title-section {
        line-height: 1.5;
    }
    
    .top-asystent-hero .hero-cta {
        padding: 8px 20px;
        font-size: clamp(0.75rem, 3vw, 0.9rem);
        gap: 6px;
    }
    
    .top-asystent-hero .cta-arrow {
        font-size: 1.1em;
    }
}

/* Landscape mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .top-asystent-hero .hero-content {
        grid-template-rows: auto 1fr auto;
        gap: 15px;
        padding: 20px;
    }
    
    .top-asystent-hero .title-line {
        font-size: clamp(3rem, 8vw, 6rem);
    }
    
    .top-asystent-hero .title-sections {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .top-asystent-hero .title-section {
        font-size: clamp(0.9rem, 2.5vw, 1.2rem);
        text-align: left;
    }
    
    .top-asystent-hero .title-left {
        border-left: 2px solid rgba(255, 255, 255, 0.3);
        border-top: none;
        padding-left: 15px;
        padding-top: 0;
    }
    
     .top-asystent-hero .title-right {
         border-right: 2px solid rgba(255, 255, 255, 0.3);
         border-bottom: none;
         padding-right: 15px;
         padding-bottom: 0;
         text-align: right;
     }
}

/* About Section */
.top-asystent-hero .about-section {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    background: #ffffff;
    padding: 60px 0;
    margin: 0;
    opacity: 0;
    transition: opacity 0.6s ease-out;
}

.top-asystent-hero .about-section.animate-in {
    opacity: 1;
}

.top-asystent-hero .about-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: center;
}

.top-asystent-hero .about-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 60px;
    gap: 25px;
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.top-asystent-hero .about-content.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.top-asystent-hero .about-label {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(0.75rem, 1vw, 0.9rem);
    font-weight: 400;
    color: rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin: 0;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.top-asystent-hero .about-content.animate-in .about-label {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

.top-asystent-hero .about-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    background: linear-gradient(135deg, #1a3d0a 0%, #2d5016 50%, #000000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.top-asystent-hero .about-content.animate-in .about-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.top-asystent-hero .about-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 0;
}

.top-asystent-hero .about-text p {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    font-weight: 300;
    color: rgba(0, 0, 0, 0.7);
    line-height: 1.8;
    letter-spacing: 0.01em;
    margin: 0;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.top-asystent-hero .about-content.animate-in .about-text p:nth-child(1) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.top-asystent-hero .about-content.animate-in .about-text p:nth-child(2) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

.top-asystent-hero .about-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 14px 36px;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(0.9rem, 1.2vw, 1rem);
    font-weight: 500;
    color: #ffffff;
    background: #1a3d0a;
    border: 4px solid transparent;
    border-radius: 100px;
    box-shadow: 0 0 0 2px #1a3d0a;
    text-decoration: none;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    margin-top: 10px;
    width: fit-content;
    opacity: 0;
    transform: translateY(10px);
}

.top-asystent-hero .about-cta svg {
    position: absolute;
    width: 24px;
    height: 24px;
    fill: #ffffff;
    z-index: 9;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.top-asystent-hero .about-cta .about-cta-arr-1 {
    right: 16px;
}

.top-asystent-hero .about-cta .about-cta-arr-2 {
    left: -25%;
}

.top-asystent-hero .about-cta .about-cta-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background-color: #ffffff;
    border-radius: 50%;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.top-asystent-hero .about-cta .about-cta-text {
    position: relative;
    z-index: 1;
    transform: translateX(-12px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.top-asystent-hero .about-content.animate-in .about-cta {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out 0.5s, transform 0.6s ease-out 0.5s, all 0.3s ease;
}

.top-asystent-hero .about-cta:hover {
    box-shadow: 0 0 0 12px transparent;
    color: #1a3d0a;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #000000;
}

.top-asystent-hero .about-cta:hover .about-cta-arr-1 {
    right: -25%;
}

.top-asystent-hero .about-cta:hover .about-cta-arr-2 {
    left: 16px;
}

.top-asystent-hero .about-cta:hover .about-cta-text {
    transform: translateX(12px);
}

.top-asystent-hero .about-cta:hover svg {
    fill: #1a3d0a;
}

.top-asystent-hero .about-cta:hover .about-cta-circle {
    width: 220px;
    height: 220px;
    opacity: 1;
}

.top-asystent-hero .about-cta:active {
    scale: 0.95;
    box-shadow: 0 0 0 4px #1a3d0a;
}

.top-asystent-hero .about-video {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    background: #ffffff;
    padding: 40px 0;
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease-out 0.2s, transform 0.8s ease-out 0.2s;
}

.top-asystent-hero .about-video.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.top-asystent-hero .about-video-element {
    width: 100%;
    height: auto;
    display: block;
}

/* About Section Responsive */
@media (max-width: 1024px) {
    .top-asystent-hero .about-section {
        padding: 50px 0;
    }
    
    .top-asystent-hero .about-content {
        padding: 30px 40px;
        gap: 20px;
    }
    
    .top-asystent-hero .about-video {
        padding: 30px 0;
    }
}

@media (max-width: 768px) {
    .top-asystent-hero .about-section {
        padding: 40px 0;
    }
    
    .top-asystent-hero .about-container {
        grid-template-columns: 1fr;
    }
    
    .top-asystent-hero .about-content {
        padding: 30px 30px;
        gap: 20px;
    }
    
    .top-asystent-hero .about-video {
        padding: 20px 0;
        order: -1;
    }
}

@media (max-width: 480px) {
    .top-asystent-hero .about-section {
        padding: 30px 0;
    }
    
    .top-asystent-hero .about-content {
        padding: 25px 20px;
        gap: 18px;
    }
    
    .top-asystent-hero .about-text {
        gap: 18px;
    }
    
    .top-asystent-hero .about-video {
        padding: 15px 0;
    }
}

/* Carousel Section */
.top-asystent-hero .top-asystent-carusuel {
    position: relative;
    display: block;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    margin: 0;
    padding: 0;
    background-color: #000;
}

.top-asystent-hero .top-asystent-carusuel * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.top-asystent-hero .top-asystent-carusuel .carousel-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* Background layers */
.top-asystent-hero .top-asystent-carusuel .background-wrapper,
.top-asystent-hero .top-asystent-carusuel .bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.top-asystent-hero .top-asystent-carusuel .bg-layer {
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
    position: relative;
}

.top-asystent-hero .top-asystent-carusuel .bg-layer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25);
    z-index: 1;
}

/* Główne zdjęcie - ukryte przed scroll, widoczne po animacji */
.top-asystent-hero .top-asystent-carusuel .bg-layer.active {
    z-index: 2;
}

/* Przed scroll - ukryte */
.top-asystent-hero .top-asystent-carusuel:not(.animate-in) .bg-layer.active {
    opacity: 0;
    transform: scale(1.1);
}

/* Po scroll - animacja z 0.3s przerwy */
.top-asystent-hero .top-asystent-carusuel.animate-in .bg-layer.active {
    animation: bgFadeInZoom 1.2s ease-out 0.3s forwards;
}

@keyframes bgFadeInZoom {
    from {
        opacity: 0;
        transform: scale(1.1);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.top-asystent-hero .top-asystent-carusuel .bg-layer.next {
    z-index: 1;
}

/* Carousel Title "Inspiracje" */
.top-asystent-hero .top-asystent-carusuel .carousel-title {
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
    display: none;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.top-asystent-hero .top-asystent-carusuel .carousel-title-text {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: clamp(2.5rem, 8vw, 7rem);
    line-height: 1;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 1) 0%, 
        rgba(255, 255, 255, 0.95) 30%,
        rgba(240, 255, 240, 0.9) 60%,
        rgba(255, 255, 255, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.3);
    letter-spacing: -0.02em;
    text-align: center;
    white-space: nowrap;
}

/* Foreground carousel */
.top-asystent-hero .top-asystent-carusuel .foreground-carousel-wrapper {
    position: absolute;
    bottom: 15%;
    left: 0;
    width: 100%;
    z-index: 10;
    display: flex;
    justify-content: center;
}

.top-asystent-hero .top-asystent-carusuel .carousel-slots-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Carousel cards */
.top-asystent-hero .top-asystent-carusuel .carousel-card {
    width: 130px;
    height: 190px;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    background-color: #d4c9b9;
    transition: all 0.6s cubic-bezier(0.45, 0.03, 0.51, 0.95);
    opacity: 0;
    transform: translateY(50px) scale(0.8);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

@keyframes cardSlideIn {
    to {
        opacity: 0.6;
        transform: translateY(0) scale(1);
    }
}

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

/* Karty pojawiają się po kolei od lewej do prawej - tylko po dodaniu klasy animate-in */
/* 0.3s przerwy przed startem + kolejne opóźnienia dla kart */
.top-asystent-hero .top-asystent-carusuel.animate-in .carousel-card.slot-far-left {
    animation: cardSlideIn 0.7s ease-out 0.4s forwards;
}

.top-asystent-hero .top-asystent-carusuel.animate-in .carousel-card.slot-left {
    animation: cardSlideIn 0.7s ease-out 0.5s forwards;
}

.top-asystent-hero .top-asystent-carusuel .carousel-card.slot-center {
    width: 200px;
    height: 280px;
    opacity: 0;
    z-index: 5;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 3px solid rgba(255, 255, 255, 0.8);
}

.top-asystent-hero .top-asystent-carusuel.animate-in .carousel-card.slot-center {
    animation: cardSlideInCenter 0.7s ease-out 0.6s forwards;
}

.top-asystent-hero .top-asystent-carusuel.animate-in .carousel-card.slot-right {
    animation: cardSlideIn 0.7s ease-out 0.7s forwards;
}

.top-asystent-hero .top-asystent-carusuel.animate-in .carousel-card.slot-far-right {
    animation: cardSlideIn 0.7s ease-out 0.8s forwards;
}

.top-asystent-hero .top-asystent-carusuel .carousel-card.slot-left,
.top-asystent-hero .top-asystent-carusuel .carousel-card.slot-right {
    width: 150px;
    height: 210px;
    opacity: 0.8;
    z-index: 4;
}

.top-asystent-hero .top-asystent-carusuel .carousel-card.slot-far-left,
.top-asystent-hero .top-asystent-carusuel .carousel-card.slot-far-right {
    z-index: 3;
}

/* Navigation buttons */
.top-asystent-hero .top-asystent-carusuel .navigation {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    gap: 30px;
}

.top-asystent-hero .top-asystent-carusuel .nav-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    width: 48px;
    height: 48px;
    font-size: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.top-asystent-hero .top-asystent-carusuel .nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: white;
    transform: scale(1.1);
}

/* Services Section */
.top-asystent-hero .services-section {
    width: 100%;
    background: #f7f7f7;
    padding: 80px 0;
}

.top-asystent-hero .services-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.top-asystent-hero .services-header {
    text-align: left;
    margin-bottom: 50px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.top-asystent-hero .services-header.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.top-asystent-hero .section-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.5);
    margin-bottom: 10px;
}

.top-asystent-hero .section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #111111;
    margin: 0;
}

.top-asystent-hero .services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}

.top-asystent-hero .service-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 0;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out, transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease-out;
}

.top-asystent-hero .service-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.top-asystent-hero .service-card:nth-child(1).animate-in {
    transition-delay: 0.1s;
}

.top-asystent-hero .service-card:nth-child(2).animate-in {
    transition-delay: 0.2s;
}

.top-asystent-hero .service-card:nth-child(3).animate-in {
    transition-delay: 0.3s;
}

.top-asystent-hero .service-card:nth-child(4).animate-in {
    transition-delay: 0.4s;
}

.top-asystent-hero .service-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f0f0f0;
    position: relative;
}

.top-asystent-hero .service-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
    pointer-events: none;
}

.top-asystent-hero .service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.top-asystent-hero .service-card {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease-out;
}

.top-asystent-hero .service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.top-asystent-hero .service-card:hover .service-image img {
    transform: scale(1.08);
}

.top-asystent-hero .service-card .service-title,
.top-asystent-hero .service-card .service-text {
    padding: 0 24px;
}

.top-asystent-hero .service-card .service-title {
    padding-top: 24px;
    margin-bottom: 12px;
}

.top-asystent-hero .service-card .service-text {
    padding-bottom: 26px;
}

.top-asystent-hero .service-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: #111111;
    line-height: 1.4;
    margin: 0 0 12px;
}

.top-asystent-hero .service-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 300;
    color: rgba(0, 0, 0, 0.75);
    line-height: 1.7;
    margin: 0;
    padding-bottom: 26px;
}

/* Testimonials Section */
.top-asystent-hero .testimonials-section {
    width: 100%;
    background: #ffffff;
    padding: 80px 0;
}

.top-asystent-hero .testimonials-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.top-asystent-hero .testimonials-header {
    text-align: left;
    margin-bottom: 40px;
}

.top-asystent-hero .testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.top-asystent-hero .testimonial-card {
    background: #f8faf9;
    border-radius: 10px;
    padding: 24px 24px 26px;
    border: 1px solid rgba(26, 61, 10, 0.08);
}

.top-asystent-hero .testimonial-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 300;
    color: rgba(0, 0, 0, 0.8);
    line-height: 1.8;
    margin: 0 0 14px;
}

.top-asystent-hero .testimonial-author {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.6);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0;
}

/* Process Section */
.top-asystent-hero .process-section {
    width: 100%;
    background: #0d1510;
    padding: 90px 0 80px;
}

.top-asystent-hero .process-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.top-asystent-hero .process-header {
    text-align: left;
    margin-bottom: 50px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.top-asystent-hero .process-header.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.top-asystent-hero .process-header .section-label {
    color: rgba(255, 255, 255, 0.6);
}

.top-asystent-hero .process-header .section-title {
    color: #ffffff;
}

.top-asystent-hero .process-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
    margin-bottom: 40px;
    opacity: 0;
    transition: opacity 0.6s ease-out;
}

.top-asystent-hero .process-steps.animate-in {
    opacity: 1;
}

.top-asystent-hero .process-step {
    color: #ffffff;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    cursor: default;
}

.top-asystent-hero .process-step:hover {
    transform: translateY(-5px);
}

.top-asystent-hero .process-step.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.top-asystent-hero .process-step:nth-child(1).animate-in {
    transition-delay: 0.1s;
}

.top-asystent-hero .process-step:nth-child(2).animate-in {
    transition-delay: 0.2s;
}

.top-asystent-hero .process-step:nth-child(3).animate-in {
    transition-delay: 0.3s;
}

.top-asystent-hero .process-step:nth-child(4).animate-in {
    transition-delay: 0.4s;
}

.top-asystent-hero .process-step:hover {
    transform: translateY(-5px);
}

.top-asystent-hero .process-step:hover .step-icon img {
    transform: scale(1.1);
}

.top-asystent-hero .step-icon {
    width: 80px;
    height: 80px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    padding: 0;
}

.top-asystent-hero .step-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 50%;
    border: 2px solid #ffffff;
    box-sizing: border-box;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.top-asystent-hero .step-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    margin: 0 0 10px;
}

.top-asystent-hero .step-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin: 0;
}

.top-asystent-hero .process-cta-wrapper {
    display: flex;
    justify-content: flex-start;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.top-asystent-hero .process-cta-wrapper.animate-in {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

.top-asystent-hero .process-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    color: #ffffff;
    text-decoration: none;
    text-transform: none;
    letter-spacing: 0.05em;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.top-asystent-hero .process-cta:hover {
    border-color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.1);
}

/* CTA Section */
.top-asystent-hero .cta-section {
    width: 100%;
    background: #ffffff url('Gemini_Generated_Image_45gukk45gukk45gu(1).png') center center/cover no-repeat;
    padding: 90px 0;
}

.top-asystent-hero .cta-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.top-asystent-hero .cta-card {
    width: 100%;
    max-width: 800px;
    border: 2px solid #1a3d0a;
    padding: 60px 50px;
    text-align: center;
    background: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.top-asystent-hero .cta-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(26, 61, 10, 0.1);
}

.top-asystent-hero .cta-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 500;
    color: #1a3d0a;
    margin: 0 0 40px;
    line-height: 1.4;
}

.top-asystent-hero .cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.top-asystent-hero .cta-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 14px 36px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #ffffff;
    background: #1a3d0a;
    text-decoration: none;
    border: 4px solid transparent;
    border-radius: 100px;
    box-shadow: 0 0 0 2px #1a3d0a;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    letter-spacing: 0.05em;
}

.top-asystent-hero .cta-button svg {
    position: absolute;
    width: 24px;
    height: 24px;
    fill: #ffffff;
    z-index: 9;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.top-asystent-hero .cta-button .cta-arr-1 {
    right: 16px;
}

.top-asystent-hero .cta-button .cta-arr-2 {
    left: -25%;
}

.top-asystent-hero .cta-button .cta-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background-color: #ffffff;
    border-radius: 50%;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.top-asystent-hero .cta-button .cta-button-text {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transform: translateX(-12px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.top-asystent-hero .cta-button.loading .cta-button-text {
    display: none !important;
}

.top-asystent-hero .cta-button-icon {
    font-size: 1.1em;
    transition: transform 0.3s ease;
    position: relative;
}

.top-asystent-hero .cta-button:hover {
    box-shadow: 0 0 0 12px transparent;
    color: #1a3d0a;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #000000;
}

.top-asystent-hero .cta-button:hover .cta-arr-1 {
    right: -25%;
}

.top-asystent-hero .cta-button:hover .cta-arr-2 {
    left: 16px;
}

.top-asystent-hero .cta-button:hover .cta-button-text {
    transform: translateX(12px);
}

.top-asystent-hero .cta-button:hover svg {
    fill: #1a3d0a;
}

.top-asystent-hero .cta-button:hover .cta-circle {
    width: 220px;
    height: 220px;
    opacity: 1;
}

.top-asystent-hero .cta-button:active {
    scale: 0.95;
    box-shadow: 0 0 0 4px #1a3d0a;
}

/* Responsive for new sections */
@media (max-width: 1024px) {
    .top-asystent-hero .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }
    
    .top-asystent-hero .service-card .service-title,
    .top-asystent-hero .service-card .service-text {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .top-asystent-hero .service-card .service-title {
        padding-top: 20px;
    }

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

    .top-asystent-hero .process-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px;
    }
}

@media (max-width: 768px) {
    .top-asystent-hero .services-container,
    .top-asystent-hero .testimonials-container,
    .top-asystent-hero .process-container,
    .top-asystent-hero .cta-container {
        padding: 0 24px;
    }

    .top-asystent-hero .services-section,
    .top-asystent-hero .testimonials-section,
    .top-asystent-hero .process-section,
    .top-asystent-hero .cta-section {
        padding: 60px 0;
    }

    .top-asystent-hero .cta-card {
        padding: 40px 30px;
    }

    .top-asystent-hero .cta-title {
        margin-bottom: 30px;
    }

    .top-asystent-hero .cta-actions {
        flex-direction: column;
        gap: 15px;
    }

    .top-asystent-hero .cta-button {
        width: 100%;
        padding: 12px 30px;
    }

    .top-asystent-hero .services-grid {
        grid-template-columns: 1fr;
    }

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

    .top-asystent-hero .process-steps {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .top-asystent-hero .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .top-asystent-hero .service-card .service-title,
    .top-asystent-hero .service-card .service-text {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .top-asystent-hero .service-card .service-title {
        padding-top: 20px;
    }
}

@media (max-width: 480px) {
    .top-asystent-hero .services-grid {
        gap: 18px;
    }
    
    .top-asystent-hero .service-card .service-title,
    .top-asystent-hero .service-card .service-text {
        padding-left: 18px;
        padding-right: 18px;
    }
    
    .top-asystent-hero .service-card .service-title {
        padding-top: 18px;
    }
    
    .top-asystent-hero .process-steps {
        grid-template-columns: 1fr;
    }
    
    /* Carousel responsive - tablet */
    .top-asystent-hero .top-asystent-carusuel .carousel-card {
        width: 110px;
        height: 160px;
    }
    
    .top-asystent-hero .top-asystent-carusuel .carousel-card.slot-center {
        width: 180px;
        height: 250px;
    }
    
    .top-asystent-hero .top-asystent-carusuel .carousel-card.slot-left,
    .top-asystent-hero .top-asystent-carusuel .carousel-card.slot-right {
        width: 130px;
        height: 180px;
    }
}

@media (max-width: 768px) {
    /* Carousel responsive - mobile */
    .top-asystent-hero .top-asystent-carusuel .carousel-card {
        width: 90px;
        height: 130px;
    }
    
    .top-asystent-hero .top-asystent-carusuel .carousel-card.slot-center {
        width: 150px;
        height: 210px;
}

    .top-asystent-hero .top-asystent-carusuel .carousel-card.slot-left,
    .top-asystent-hero .top-asystent-carusuel .carousel-card.slot-right {
        width: 110px;
        height: 150px;
    }
}

/* ========================================
   LOGO GENERATOR SECTION
   ======================================== */

/* Logo Generator Section */
.top-asystent-hero .logo-generator-section {
    width: 100%;
    background: #ffffff;
    padding: 90px 0;
    position: relative;
    overflow: hidden;
}

.top-asystent-hero .logo-generator-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    object-fit: cover;
}

.top-asystent-hero .logo-generator-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

.top-asystent-hero .logo-generator-header {
    text-align: center;
    margin-bottom: 50px;
}

/* Białe/szare teksty w sekcji logo generatora (nad wideo) */
.top-asystent-hero .logo-generator-header .section-label {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.top-asystent-hero .logo-generator-header .section-title {
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.top-asystent-hero .logo-generator-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
    margin: 15px 0 0;
    line-height: 1.6;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.top-asystent-hero .logo-generator-box {
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    padding: 50px 40px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease, transform 0.3s ease, opacity 0.6s ease-out;
        opacity: 0;
        transform: translateY(30px);
    position: relative;
    z-index: 1;
    }

.top-asystent-hero .logo-generator-box.animate-in {
        opacity: 1;
        transform: translateY(0);
    }

.top-asystent-hero .logo-generator-box:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.top-asystent-hero .logo-generator-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.top-asystent-hero .logo-generator-form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.top-asystent-hero .logo-generator-label {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(0.95rem, 1.2vw, 1.05rem);
    font-weight: 600;
    color: #111111;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.top-asystent-hero .logo-generator-label-number {
    color: #2d5016;
    font-weight: 700;
}

.top-asystent-hero .logo-generator-hint {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(0.85rem, 1vw, 0.9rem);
    font-weight: 300;
    color: rgba(0, 0, 0, 0.5);
    margin: 0;
}

/* Custom File Upload Styles */
.top-asystent-hero .custum-file-upload {
    height: 200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    cursor: pointer;
    border: 2px dashed #cacaca;
    background-color: rgba(255, 255, 255, 1);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0px 48px 35px -48px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    margin-top: 10px;
}

.top-asystent-hero .custum-file-upload:hover {
    border-color: #2d5016;
    background-color: rgba(45, 80, 22, 0.02);
    box-shadow: 0px 48px 35px -48px rgba(45, 80, 22, 0.15);
}

.top-asystent-hero .custum-file-upload .icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.top-asystent-hero .custum-file-upload .icon svg {
    height: 80px;
    fill: rgba(45, 80, 22, 0.6);
    transition: fill 0.3s ease;
}

.top-asystent-hero .custum-file-upload:hover .icon svg {
    fill: rgba(45, 80, 22, 1);
}

.top-asystent-hero .custum-file-upload .text {
    display: flex;
    align-items: center;
    justify-content: center;
}

.top-asystent-hero .custum-file-upload .text span {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: clamp(0.9rem, 1.1vw, 1rem);
    color: rgba(45, 80, 22, 0.8);
    transition: color 0.3s ease;
}

.top-asystent-hero .custum-file-upload:hover .text span {
    color: rgba(45, 80, 22, 1);
}

.top-asystent-hero .custum-file-upload input {
    display: none;
}

/* Test Logo Section */
.top-asystent-hero .logo-generator-test-section {
    margin-top: 25px;
    padding-top: 25px;
    border-top: none;
    text-align: center;
}

/* Przyciski w sekcji logo generatora używają teraz klasy .cta-button */

/* Popup/Modal Styles */
/* Style dla logo testowych - będzie w modal dynamicznie tworzonym */
.logo-test-item {
    position: relative;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 10px;
    background: #f9f9f9;
    transition: all 0.3s ease;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.logo-test-item:hover {
    border-color: #2d5016;
    background: rgba(45, 80, 22, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 80, 22, 0.15);
}

.logo-test-item.selected {
    border-color: #2d5016;
    border-width: 3px;
    background: rgba(45, 80, 22, 0.1);
    box-shadow: 0 0 0 2px rgba(45, 80, 22, 0.2);
}

.logo-test-thumbnail {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-test-item:hover .logo-test-thumbnail {
    transform: scale(1.05);
}

.logo-test-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 25px 0;
}

/* Logo Generator Loader - poza przyciskiem */
.top-asystent-hero .logo-generator-loader {
    width: 48px;
    height: 48px;
    margin: auto;
    position: relative;
    display: none;
}

.top-asystent-hero .logo-generator-loader:before {
    content: '';
    width: 48px;
    height: 5px;
    background: rgba(45, 80, 22, 0.3);
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    animation: shadow324 0.5s linear infinite;
}

.top-asystent-hero .logo-generator-loader:after {
    content: '';
    width: 100%;
    height: 100%;
    background: #2d5016;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 4px;
    animation: jump7456 0.5s linear infinite;
}

@keyframes jump7456 {
    15% {
        border-bottom-right-radius: 3px;
    }
    25% {
        transform: translateY(9px) rotate(22.5deg);
    }
    50% {
        transform: translateY(18px) scale(1, .9) rotate(45deg);
        border-bottom-right-radius: 40px;
    }
    75% {
        transform: translateY(9px) rotate(67.5deg);
    }
    100% {
        transform: translateY(0) rotate(90deg);
    }
}

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

/* Przycisk ukryty podczas loading */
.top-asystent-hero #logo-generator-btn.loading {
    display: none !important;
}

/* Loader widoczny podczas loading */
.top-asystent-hero #logo-generator-loader.loading {
    display: block !important;
}

/* Przyciski w sekcji logo generatora - pełna szerokość */
.top-asystent-hero .logo-generator-test-section .cta-button,
.top-asystent-hero #logo-generator-btn.cta-button {
    width: 100%;
    margin-top: 10px;
}

/* Kontener dla przycisku i loadera */
.top-asystent-hero .logo-generator-button-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
}

/* View Full Image Button */
.top-asystent-hero .logo-view-full-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: #2d5016;
    background: transparent;
    border: 2px solid #2d5016;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.top-asystent-hero .logo-view-full-btn:hover {
    background: #2d5016;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 80, 22, 0.3);
}

.top-asystent-hero .logo-view-full-btn i {
    margin-right: 8px;
}

/* Modale będą dynamicznie tworzone przez JS - style dodane w JS */

/* When file is selected - optional styling enhancement */
.top-asystent-hero .custum-file-upload.has-file {
    border-color: #2d5016;
    background-color: rgba(45, 80, 22, 0.05);
    }

.top-asystent-hero .custum-file-upload.has-file .icon svg {
    fill: rgba(45, 80, 22, 1);
}

.top-asystent-hero .custum-file-upload.has-file .text span {
    color: rgba(45, 80, 22, 1);
    font-weight: 500;
}

/* Przyciski w sekcji logo generatora używają teraz klasy .cta-button */

.top-asystent-hero .logo-generator-status {
    margin: 25px 0;
    padding: 15px 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(0.9rem, 1.1vw, 1rem);
    font-weight: 500;
    color: #555555;
    text-align: center;
    min-height: 24px;
    line-height: 1.6;
}

/* Obraz w głównej sekcji jest zawsze ukryty - pokazujemy tylko przycisk */
.top-asystent-hero .logo-generator-result img {
    display: none !important;
}

.top-asystent-hero .logo-generator-result {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid #e0e0e0;
}

.top-asystent-hero .logo-generator-result-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.1rem, 1.4vw, 1.25rem);
    font-weight: 600;
    color: #2d5016;
    margin: 0 0 20px;
    text-align: center;
}

.top-asystent-hero .logo-generator-result-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: block;
    margin: 0 auto;
}

/* Logo Generator Responsive */
@media (max-width: 768px) {
    .top-asystent-hero .logo-generator-section {
        padding: 60px 0;
    }
    
    .top-asystent-hero .logo-generator-container {
        padding: 0 24px;
    }
    
    .top-asystent-hero .logo-generator-box {
        padding: 35px 25px;
    }
    
    .top-asystent-hero .logo-test-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .logo-test-modal-content {
        padding: 30px 20px;
        max-width: 90%;
    }
    
    .logo-image-modal-content {
        max-width: 98%;
        max-height: 98vh;
    }
    
    .logo-image-modal-close {
        top: 10px;
        right: 10px;
        width: 36px;
        height: 36px;
    }
    
    .top-asystent-hero .logo-generator-form {
        gap: 25px;
    }
    
    .top-asystent-hero .custum-file-upload {
        height: 180px;
        padding: 1.2rem;
        gap: 15px;
    }
    
    .top-asystent-hero .custum-file-upload .icon svg {
        height: 60px;
    }
    
    .top-asystent-hero .custum-file-upload .text span {
        font-size: clamp(0.85rem, 1vw, 0.95rem);
    }
}

@media (max-width: 480px) {
    .top-asystent-hero .custum-file-upload {
        height: 160px;
        padding: 1rem;
        gap: 12px;
    }
    
    .top-asystent-hero .custum-file-upload .icon svg {
        height: 50px;
    }
    
    .top-asystent-hero .custum-file-upload .text span {
        font-size: 0.85rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .top-asystent-hero .logo-generator-box {
        padding: 30px 20px;
    }
    
    .top-asystent-hero .logo-test-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .top-asystent-hero .logo-test-item {
        padding: 8px;
    }
    
    .top-asystent-hero .logo-generator-button {
        padding: 15px 25px;
    }
}

/* ========================================
   FOOTER SECTION
   ======================================== */

.top-asystent-hero .footer-section {
    width: 100%;
    background: #000000;
    padding: 80px 0 30px;
    color: #ffffff;
}

.top-asystent-hero .footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.top-asystent-hero .footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 50px;
    margin-bottom: 50px;
}

.top-asystent-hero .footer-column {
    display: flex;
    flex-direction: column;
}

.top-asystent-hero .footer-brand {
    gap: 20px;
}

.top-asystent-hero .footer-logo {
    margin-bottom: 10px;
}

.top-asystent-hero .footer-logo-img {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.top-asystent-hero .footer-tagline {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
    font-style: italic;
}

.top-asystent-hero .footer-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 20px;
}

.top-asystent-hero .footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
        gap: 12px;
}

.top-asystent-hero .footer-nav li {
    margin: 0;
    padding: 0;
}

.top-asystent-hero .footer-link {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.2s ease;
    display: inline-block;
}

.top-asystent-hero .footer-link:hover {
    color: #ffffff;
    transform: translateX(3px);
}

.top-asystent-hero .footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.top-asystent-hero .footer-contact-item {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.top-asystent-hero .footer-contact-item i {
    width: 18px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.top-asystent-hero .footer-social {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.top-asystent-hero .footer-social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.top-asystent-hero .footer-social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    transform: translateY(-2px);
}

.top-asystent-hero .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.top-asystent-hero .footer-copyright {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.top-asystent-hero .footer-legal {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-asystent-hero .footer-legal-link {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.top-asystent-hero .footer-legal-link:hover {
    color: rgba(255, 255, 255, 1);
}

.top-asystent-hero .footer-separator {
    color: rgba(255, 255, 255, 0.4);
}

/* Footer Responsive */
@media (max-width: 1024px) {
    .top-asystent-hero .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .top-asystent-hero .footer-section {
        padding: 60px 0 25px;
    }
    
    .top-asystent-hero .footer-container {
        padding: 0 24px;
    }
    
    .top-asystent-hero .footer-content {
        grid-template-columns: 1fr;
        gap: 35px;
        margin-bottom: 40px;
    }
    
    .top-asystent-hero .footer-bottom {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
        padding-top: 25px;
    }
    
    .top-asystent-hero .footer-logo-img {
        height: 60px;
    }
}

@media (max-width: 480px) {
    .top-asystent-hero .footer-section {
        padding: 50px 0 20px;
    }
    
    .top-asystent-hero .footer-container {
        padding: 0 20px;
    }
    
    .top-asystent-hero .footer-content {
        gap: 30px;
        margin-bottom: 30px;
    }
    
    .top-asystent-hero .footer-social {
        gap: 12px;
    }
    
    .top-asystent-hero .footer-social-link {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
}

/* ========================================
   PAGE LOADER
   ======================================== */

.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: 100vw;
    background: #000000;
    z-index: 9999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
    overflow: hidden;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.loader-spinner {
    width: 60px;
    height: 60px;
    position: relative;
}

.loader-spinner:before {
    content: '';
    width: 60px;
    height: 5px;
    background: rgba(45, 80, 22, 0.3);
    position: absolute;
    top: 70px;
    left: 0;
    border-radius: 50%;
    animation: loaderShadow 0.5s linear infinite;
}

.loader-spinner:after {
    content: '';
    width: 100%;
    height: 100%;
    background: #2d5016;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 4px;
    animation: loaderJump 0.5s linear infinite;
}

@keyframes loaderJump {
    15% {
        border-bottom-right-radius: 3px;
    }
    25% {
        transform: translateY(9px) rotate(22.5deg);
    }
    50% {
        transform: translateY(18px) scale(1, .9) rotate(45deg);
        border-bottom-right-radius: 40px;
    }
    75% {
        transform: translateY(9px) rotate(67.5deg);
    }
    100% {
        transform: translateY(0) rotate(90deg);
    }
}

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

/* Blokada scroll podczas loading */
body.loading {
    overflow: hidden !important;
    height: 100vh;
    max-width: 100vw;
    position: fixed;
    width: 100%;
}

html.loading {
    overflow: hidden !important;
    max-width: 100vw;
}

/* Ukryj nawigację podczas loadera */
body.loading .main-nav,
html.loading .main-nav {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    z-index: 0 !important;
}
