/* Container style */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 80px;
    width: 90%;
}

/* Hero Section */
.product-hero {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin: 40px auto;
    width: 97%;
    max-width: none;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    background-color: #333;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('frezowanie-hero.jpg');
    background-size: cover;
    background-position: center;
    filter: brightness(0.6);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    color: white;
    display: flex;
    padding-left: 60px;
}

.hero-text {
    max-width: 500px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-features {
    display: flex;
    gap: 30px;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
}

.hero-feature i {
    color: var(--color-primary);
    font-size: 1.2rem;
}

/* Overview Section */
.overview-section {
    padding: 100px 0;
    margin: 40px auto;
    width: 97%;
    background: linear-gradient(135deg, #f8f7f3 0%, #ffffff 100%);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.overview-content-full {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.section-label {
    display: inline-block;
    color: var(--color-primary);
    font-weight: 500;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    background-color: rgba(210, 201, 168, 0.2);
    padding: 8px 16px;
    border-radius: 30px;
}

.overview-content-full h2 {
    font-size: 2.8rem;
    margin-bottom: 25px;
    line-height: 1.2;
}

.overview-description {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--color-text-light);
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.advantage-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
}

.advantage-card {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex: 1;
    min-width: 200px;
    max-width: 250px;
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.advantage-icon {
    width: 60px;
    height: 60px;
    background-color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.advantage-icon i {
    font-size: 24px;
    color: var(--color-text);
}

.advantage-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 10px;
}

.advantage-text {
    color: var(--color-text-light);
    font-size: 1rem;
}

.cta-container {
    margin-top: 40px;
}

.intro-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--color-primary);
    color: var(--color-text);
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--color-primary);
}

.intro-cta-button:hover {
    background-color: transparent;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.intro-cta-button i {
    transition: transform 0.3s ease;
}

.intro-cta-button:hover i {
    transform: translateX(5px);
}

/* Benefits Section */
.benefits-section {
    padding: 100px 0;
    margin: 40px auto;
    width: 97%;
    background: linear-gradient(135deg, #ffffff 0%, #f8f7f3 100%);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.section-description {
    color: var(--color-text-light);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.benefits-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.benefit-card {
    position: relative;
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    display: flex;
    overflow: hidden;
    transition: transform 0.3s ease;
}

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

.benefit-icon {
    width: 70px;
    height: 70px;
    background-color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 30px;
    z-index: 2;
    flex-shrink: 0;
}

.benefit-icon i {
    font-size: 28px;
    color: var(--color-text);
}

.benefit-content {
    flex: 1;
    z-index: 2;
}

.benefit-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--color-text);
}

.benefit-content p {
    color: var(--color-text-light);
    margin-bottom: 20px;
    line-height: 1.5;
}

.benefit-background {
    position: absolute;
    right: 0;
    top: 0;
    width: 40%;
    height: 100%;
    background-color: rgba(210, 201, 168, 0.1);
    z-index: 1;
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
    transition: width 0.3s ease;
}

.benefit-card:hover .benefit-background {
    width: 50%;
}

.benefit-list {
    list-style: none;
    padding: 0;
}

.benefit-list li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
    color: var(--color-text-light);
}

.benefit-list li::before {
    content: '✓';
    color: var(--color-primary);
    position: absolute;
    left: 0;
}

/* Process Section - Horizontal Timeline */
.process-section {
    padding: 100px 0;
    margin: 40px auto;
    width: 97%;
    background: linear-gradient(135deg, #f8f7f3 0%, #ffffff 100%);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
}

.horizontal-process {
    position: relative;
    max-width: 1200px;
    margin: 80px auto 0;
    padding: 30px 0;
}

/* Track and timeline */
.process-track {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 50px 30px;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    scroll-behavior: smooth;
}

.process-track::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.process-line {
    position: absolute;
    left: 0;
    right: 0;
    top: 100px;
    height: 6px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--color-primary) 15%, 
        var(--color-primary) 85%, 
        transparent 100%);
    z-index: 1;
}

/* Node and connection points */
.process-node {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 0 300px;
    margin: 0 20px;
    z-index: 2;
}

.node-point {
    width: 24px;
    height: 24px;
    background-color: white;
    border: 5px solid var(--color-primary);
    border-radius: 50%;
    margin-bottom: 30px;
    position: relative;
    z-index: 3;
    transition: all 0.3s ease;
}

.node-point::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background-color: rgba(210, 201, 168, 0.3);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: all 0.3s ease;
}

.process-node:hover .node-point {
    transform: scale(1.2);
    box-shadow: 0 0 15px rgba(210, 201, 168, 0.5);
}

.process-node:hover .node-point::before {
    opacity: 1;
    animation: pulse 1.5s infinite;
}

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

/* Process cards */
.process-card {
    background-color: white;
    border-radius: 20px;
    padding: 40px 25px 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    width: 100%;
    min-height: 230px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.process-node:hover .process-card {
    transform: translateY(-15px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

/* Number badge */
.process-number {
    position: absolute;
    top: -20px;
    width: 40px;
    height: 40px;
    background-color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
}

.process-node:hover .process-number {
    transform: rotate(360deg);
}

/* Process icon */
.process-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(210, 201, 168, 0.2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.process-icon i {
    font-size: 30px;
    color: var(--color-primary);
    transition: all 0.3s ease;
}

.process-node:hover .process-icon {
    background-color: var(--color-primary);
    transform: rotate(10deg);
}

.process-node:hover .process-icon i {
    color: white;
}

/* Process details */
.process-details {
    text-align: center;
}

.process-details h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--color-text);
    position: relative;
    padding-bottom: 10px;
    display: inline-block;
}

.process-details h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}

.process-node:hover .process-details h3::after {
    width: 80%;
}

.process-details p {
    color: var(--color-text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Scroll arrows */
.process-scroll-arrows {
    display: none; /* Hidden by default, shown on smaller screens */
    justify-content: space-between;
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    padding: 0 10px;
}

.scroll-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-arrow:hover {
    background-color: var(--color-primary);
    transform: scale(1.1);
}

.scroll-arrow i {
    font-size: 16px;
    color: var(--color-text);
    transition: color 0.3s ease;
}

.scroll-arrow:hover i {
    color: white;
}

/* Responsiveness */
@media (max-width: 1200px) {
    .process-track {
        justify-content: flex-start;
    }
    
    .process-scroll-arrows {
        display: flex;
    }
}

@media (max-width: 768px) {
    .process-section {
        padding: 60px 0;
    }
    
    .horizontal-process {
        margin-top: 50px;
    }
    
    .process-node {
        flex: 0 0 250px;
        margin: 0 15px;
    }
    
    .process-card {
        padding: 35px 15px 20px;
        min-height: 200px;
    }
    
    .process-icon {
        width: 60px;
        height: 60px;
    }
    
    .process-icon i {
        font-size: 24px;
    }
    
    .process-details h3 {
        font-size: 1.1rem;
    }
    
    .process-details p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .process-node {
        flex: 0 0 220px;
        margin: 0 10px;
    }
    
    .process-card {
        padding: 30px 15px 15px;
        min-height: 180px;
    }
    
    .process-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
    }
    
    .process-icon i {
        font-size: 20px;
    }
    
    .node-point {
        width: 20px;
        height: 20px;
        border-width: 4px;
    }
    
    .process-number {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

/* Application Section */
.application-section {
    padding: 100px 0;
    margin: 40px auto;
    width: 97%;
    background: linear-gradient(135deg, #ffffff 0%, #f8f7f3 100%);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.applications-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    margin-top: 60px;
}

.application-icon-card {
    flex: 1;
    min-width: 300px;
    max-width: 380px;
    background-color: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    padding: 30px;
    position: relative;
}

.application-icon-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 0;
    background-color: var(--color-primary);
    transition: height 0.5s ease;
}

.application-icon-card:hover::before {
    height: 100%;
}

.application-icon-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.icon-container {
    position: relative;
    margin: 0 auto 30px;
    width: 120px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon-circle {
    width: 100px;
    height: 100px;
    background-color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.icon-circle i {
    font-size: 48px;
    color: var(--color-text);
    transition: all 0.3s ease;
}

.icon-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(210,201,168,0.6) 0%, rgba(210,201,168,0) 70%);
    opacity: 0.5;
    z-index: 1;
    transition: all 0.5s ease;
}

.application-icon-card:hover .icon-circle {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(210,201,168,0.5);
}

.application-icon-card:hover .icon-glow {
    transform: scale(1.3);
    opacity: 0.8;
}

.application-icon-card:hover .icon-circle i {
    transform: scale(1.1);
}

.card-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-details h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--color-text);
    position: relative;
    padding-bottom: 15px;
    text-align: center;
}

.card-details h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--color-primary);
}

.card-description {
    margin-bottom: 30px;
    flex: 1;
}

.card-description p {
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: center;
}

.feature-bullets {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-bullet {
    display: flex;
    align-items: center;
    gap: 15px;
}

.bullet-icon {
    width: 24px;
    height: 24px;
    background-color: rgba(210, 201, 168, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bullet-icon i {
    font-size: 12px;
    color: var(--color-primary);
}

.bullet-text {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.learn-more-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-text);
    text-decoration: none;
    font-weight: 600;
    margin-top: auto;
    transition: all 0.3s ease;
    justify-content: center;
}

.learn-more-link i {
    transition: transform 0.3s ease;
    color: var(--color-primary);
}

.learn-more-link:hover {
    color: var(--color-primary);
}

.learn-more-link:hover i {
    transform: translateX(5px);
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    margin: 40px auto;
    width: 97%;
    background: linear-gradient(135deg, #f8f7f3 0%, #ffffff 100%);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 60px auto 0;
}

.faq-item {
    background-color: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.faq-item h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--color-text);
    position: relative;
    padding-bottom: 15px;
}

.faq-item h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--color-primary);
}

.faq-item p {
    color: var(--color-text-light);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    margin: 40px auto;
    width: 97%;
    background-color: var(--color-primary);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--color-primary) 0%, var(--color-primary-hover) 100%);
    opacity: 0.8;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: var(--color-text);
    margin-bottom: 20px;
}

.cta-description {
    color: var(--color-text);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-button.primary {
    background-color: white;
    color: var(--color-text);
}

.cta-button.secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.cta-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
}

.info-item i {
    color: white;
}

@media (max-width: 1024px) {
    .container {
        padding: 0 40px;
    }

    .product-hero,
    .overview-section,
    .benefits-section,
    .process-section,
    .application-section,
    .faq-section,
    .cta-section {
        margin: 20px auto;
        width: 95%;
    }

    .overview-content h2,
    .overview-content-full h2 {
        font-size: 2.2rem;
    }
    
    .advantage-cards {
        flex-wrap: wrap;
    }
    
    .advantage-card {
        min-width: 180px;
        flex: 1 0 40%;
    }
    
    .benefits-container {
        padding: 0 20px;
    }
    
    .benefit-card {
        padding: 20px;
    }
    
    .benefit-icon {
        width: 60px;
        height: 60px;
        margin-right: 20px;
    }
    
    .timeline-connector {
        left: 30px;
        transform: none;
    }
    
    .timeline-step {
        justify-content: flex-end !important;
    }
    
    .step-number {
        left: 30px;
        transform: none;
    }
    
    .timeline-step .step-content {
        width: 75%;
        margin-left: 60px !important;
        margin-right: 0 !important;
    }
    
    .applications-cards {
        gap: 30px;
    }
    
    .application-icon-card {
        min-width: 280px;
        padding: 25px;
    }
    
    .icon-container {
        width: 100px;
        height: 100px;
        margin-bottom: 25px;
    }
    
    .icon-circle {
        width: 80px;
        height: 80px;
    }
    
    .icon-circle i {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .product-hero,
    .overview-section,
    .benefits-section,
    .process-section,
    .application-section,
    .faq-section,
    .cta-section {
        margin: 10px auto;
        width: 95%;
        padding: 60px 0;
    }

    .hero-content {
        padding-left: 30px;
        padding-right: 30px;
    }

    .hero-features {
        flex-direction: column;
        gap: 15px;
    }
    
    .overview-content-full h2 {
        font-size: 1.8rem;
    }
    
    .overview-description {
        font-size: 1rem;
    }
    
    .advantage-cards {
        gap: 15px;
    }
    
    .advantage-card {
        padding: 20px;
        min-width: 140px;
        flex: 1 0 40%;
    }
    
    .advantage-icon {
        width: 50px;
        height: 50px;
    }
    
    .advantage-number {
        font-size: 2rem;
    }
    
    .benefit-card {
        flex-direction: column;
        align-items: center;
    }
    
    .benefit-icon {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .benefit-content {
        text-align: center;
    }
    
    .benefit-background {
        width: 100%;
        height: 40%;
        top: unset;
        bottom: 0;
        clip-path: polygon(0 30%, 100% 0, 100% 100%, 0 100%);
    }
    
    .timeline-step .step-content {
        width: 80%;
        padding: 20px;
    }
    
    .timeline-step {
        margin-bottom: 60px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .application-icon-card {
        padding: 20px;
    }
    
    .icon-circle {
        width: 80px;
        height: 80px;
    }
    
    .icon-circle i {
        font-size: 36px;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }
    
    .faq-item {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .product-hero {
        height: auto;
        min-height: 500px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .advantage-card {
        min-width: 100%;
    }
    
    .benefit-card {
        padding: 20px 15px;
    }
    
    .timeline-step .step-content {
        width: 85%;
        padding: 15px;
    }
    
    .application-icon-card {
        min-width: 100%;
    }
    
    .faq-item {
        padding: 20px;
    }
    
    .faq-item h3 {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
}