/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #263238;
    --primary-blue: #37474F;
    --secondary-blue: #455A64;
    --accent-color: #EE202E;
    --text-dark: #263238;
    --text-light: #37474F;
    --text-secondary: #455A64;
    --bg-light: #F5F7FA;
    --bg-white: #ffffff;
    --border-color: #E0E0E0;
    --shadow-sm: 0 2px 8px rgba(38,50,56,0.08);
    --shadow-md: 0 8px 24px rgba(38,50,56,0.12);
    --shadow-lg: 0 12px 48px rgba(38,50,56,0.16);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --gradient-primary: linear-gradient(90deg, #263238 0%, #37474F 100%);
    --gradient-accent: linear-gradient(90deg, #EE202E 0%, #FF4444 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--bg-white);
    overflow-x: hidden;
    font-weight: 300;
    letter-spacing: 0.02em;
}

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

/* Typography */
h1 {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(42px, 7vw, 72px);
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

h2 {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 300;
    line-height: 1.3;
    letter-spacing: 0.01em;
    margin-bottom: 32px;
}

h3 {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 20px;
    letter-spacing: 0.01em;
}

h4 {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 16px;
    letter-spacing: 0.01em;
}

p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 20px;
    font-weight: 300;
    letter-spacing: 0.02em;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 400;
    transition: var(--transition);
    position: relative;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.nav-menu a:hover {
    color: var(--accent-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

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

.nav-cta {
    background: var(--accent-color);
    color: white !important;
    padding: 8px 20px;
    border-radius: 8px;
    display: inline-block;
}

.nav-cta:hover {
    background: var(--accent-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(238,32,46,0.3);
}

.nav-lang a {
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.nav-lang a:hover {
    opacity: 1;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: var(--transition);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 13px 32px;
    font-size: 13px;
    font-weight: 400;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.25s ease;
    cursor: pointer;
    border: none;
    outline: none;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

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

.btn-primary:hover {
    background: #d41b27;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(238,32,46,0.25);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-color);
    border: 1.5px solid var(--accent-color);
}

.btn-secondary:hover {
    background: rgba(238,32,46,0.06);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(238,32,46,0.12);
}

.btn-outline {
    background: transparent;
    color: var(--text-dark);
    border: 1.5px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(238,32,46,0.1);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 0;
}

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

.hero-video video,
.hero-video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-video::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.7) 100%);
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 1;
    max-width: 800px;
    padding: 40px 24px;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.4) 0%, transparent 70%);
    border-radius: 20px;
}

.hero-content h1 {
    margin-bottom: 16px;
    text-shadow: 0 4px 60px rgba(0,0,0,0.8), 0 2px 20px rgba(0,0,0,0.9);
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 200;
    margin-bottom: 16px;
    text-shadow: 0 2px 30px rgba(0,0,0,0.8), 0 1px 10px rgba(0,0,0,0.9);
    color: #FFFFFF;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-description {
    font-size: 18px;
    margin-bottom: 48px;
    color: #FFFFFF;
    text-shadow: 0 2px 20px rgba(0,0,0,0.7);
    font-weight: 300;
    opacity: 1;
    letter-spacing: 0.03em;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg);
    opacity: 0.7;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Lifestyle Section */
.lifestyle {
    padding: 0;
    margin: 0;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.lifestyle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 0;
}

.lifestyle-item {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.lifestyle-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.lifestyle-item:hover img {
    transform: scale(1.05);
}

.lifestyle-text {
    position: absolute;
    bottom: 40px;
    left: 40px;
    right: 40px;
    color: white;
    text-align: center;
}

.lifestyle-text h3 {
    font-family: 'Raleway', sans-serif;
    font-size: 28px;
    font-weight: 200;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* About Sling Section */
.about-sling {
    padding: 0 0 120px 0;
    background: white;
}

.about-hero {
    width: 100%;
    height: 400px;
    overflow: hidden;
    margin-bottom: 60px;
}

.about-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.about-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text .lead {
    font-size: 20px;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 24px;
    font-weight: 500;
}

.about-features {
    list-style: none;
    margin-top: 24px;
}

.about-features li {
    padding: 12px 0;
    padding-left: 32px;
    position: relative;
    font-size: 17px;
    color: var(--text-light);
}

.about-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 20px;
}

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

.about-stats .stat-card {
    background: var(--bg-light);
    padding: 32px;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-stats .stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.about-stats .stat-card h3 {
    font-family: 'Raleway', sans-serif;
    font-size: 36px;
    font-weight: 200;
    color: var(--accent-color);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
    font-variant-numeric: tabular-nums;
}

.about-stats .stat-card p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

/* Models Section */
.models {
    padding: 120px 0;
    background: var(--bg-light);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    font-weight: 200;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--accent-color);
}

.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.model-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: var(--transition);
}

.model-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.model-image {
    height: 250px;
    overflow: hidden;
}

.model-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.model-card:hover .model-image img {
    transform: scale(1.1);
}

.model-content {
    padding: 36px;
}

.model-content h3 {
    font-weight: 300;
    letter-spacing: 0.04em;
}

.model-features {
    list-style: none;
    margin: 20px 0;
}

.model-features li {
    padding: 10px 0;
    padding-left: 28px;
    position: relative;
    color: var(--text-light);
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 0.02em;
}

.model-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.model-description {
    margin: 24px 0;
}

.model-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.model-buttons .btn {
    flex: 1;
    min-width: 140px;
    text-align: center;
}

/* Configurator Section */
.configurator {
    padding: 120px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
    z-index: 2;
}

.configurator::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(180deg, transparent 0%, rgba(238,32,46,0.03) 100%);
}

.configurator-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.configurator-text h2 {
    margin-bottom: 24px;
    color: var(--accent-color);
    font-weight: 600;
    letter-spacing: 0.15em;
}

.configurator-lead {
    font-size: 24px !important;
    font-weight: 300;
    color: var(--text-dark);
    margin-bottom: 20px !important;
}

.configurator-text p {
    margin-bottom: 32px;
    font-size: 17px;
}

.configurator-note {
    font-size: 14px !important;
    color: var(--text-light);
    margin-top: 20px;
    font-style: italic;
}

.btn-large {
    padding: 16px 44px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
}

.btn-large:hover {
    box-shadow: 0 8px 24px rgba(238,32,46,0.3);
}

.configurator-preview {
    background: var(--bg-light);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
}

.configurator-preview img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

/* Technical Section */
.technical {
    padding: 120px 0;
    background: var(--bg-light);
}

.tech-tabs {
    margin-bottom: 60px;
}

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

.tab-btn {
    padding: 12px 28px;
    background: white;
    border: 1.5px solid var(--border-color);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.25s ease;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.tech-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.tech-value {
    font-family: 'Raleway', sans-serif;
    font-size: 32px;
    font-weight: 300;
    color: var(--accent-color);
    margin: 16px 0 8px;
    letter-spacing: 0.02em;
}

.tech-label {
    color: var(--text-light);
    font-size: 14px;
}


/* Safety Section */
.safety {
    padding: 120px 0;
    background: white;
}

.safety-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.safety-card {
    text-align: center;
}

.safety-icon {
    width: 160px;
    height: 160px;
    margin: 0 auto 24px;
    background: var(--bg-light);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.safety-icon img {
    width: 140px;
    height: 140px;
    object-fit: contain;
}

.icon-placeholder {
    width: 48px;
    height: 48px;
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(238, 32, 46, 0.1);
}

.configurator-placeholder {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--bg-light) 0%, #E8F4FD 100%);
    border-radius: 16px;
    border: 2px dashed var(--accent-color);
}

.configurator-placeholder h4 {
    color: var(--accent-color);
    margin-bottom: 8px;
}

.configurator-placeholder p {
    color: var(--text-light);
    margin: 0;
    font-size: 14px;
}

/* Testimonials Section */
.testimonials {
    padding: 120px 0;
    background: var(--bg-light);
}

.section-subtitle {
    text-align: center;
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 60px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.testimonial {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}

.testimonial-content p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 32px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    margin-bottom: 4px;
}

.testimonial-author p {
    font-size: 14px;
    margin: 0;
}

/* Process Section */
.process {
    padding: 120px 0;
    background: white;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
    gap: 24px;
}

.process-step {
    flex: 1;
    text-align: center;
    min-width: 200px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    color: white;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 600;
    margin: 0 auto 24px;
    transform: skewX(-10deg);
}

.process-arrow {
    font-size: 32px;
    color: var(--border-color);
    flex: 0 0 auto;
}

.process-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.info-card {
    background: var(--bg-light);
    padding: 32px;
    border-radius: 16px;
}

/* FAQ Section */
.faq {
    padding: 120px 0;
    background: var(--bg-light);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    padding: 24px 32px;
    background: white;
    border: none;
    text-align: left;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

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

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 24px 32px;
    margin: 0;
}

/* AI Section */
.ai-section {
    padding: 120px 0;
    background: white;
}

.ai-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.ai-text h2 {
    margin-bottom: 24px;
}

.ai-text p {
    margin-bottom: 32px;
    font-size: 18px;
}

.chat-preview {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 24px;
    max-width: 400px;
    margin: 0 auto;
}

.chat-message {
    margin-bottom: 16px;
    padding: 12px 16px;
    border-radius: 12px;
}

.chat-message.bot {
    background: white;
    margin-right: 40px;
}

.chat-message.user {
    background: var(--gradient-accent);
    color: white;
    margin-left: 40px;
}

.chat-message p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.chat-message.user p {
    color: white;
}

/* Contact Section */
.contact {
    padding: 120px 0;
    background: white;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin: 60px 0;
}

.contact-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 24px;
    background: var(--gradient-accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.contact-card h3 {
    font-size: 20px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.contact-link {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.contact-hint {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 8px;
}

.contact-cta {
    text-align: center;
    padding: 60px 40px;
    background: white;
    border-radius: 20px;
    margin-top: 60px;
    box-shadow: 0 8px 30px rgba(238,32,46,0.1);
}

.contact-cta h3 {
    font-size: 32px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.contact-cta p {
    font-size: 18px;
    margin-bottom: 32px;
    color: var(--text-light);
}

.contact-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    display: inline-block;
    vertical-align: middle;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 40px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    height: 32px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    margin: 0;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-social h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
}

.social-icons {
    display: flex;
    gap: 12px;
    margin: 0;
}

.social-icons a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.social-icons svg {
    width: 20px;
    height: 20px;
    fill: white;
}

/* Chatbot Widget */
/* TYMCZASOWO UKRYTE - usuń ten blok aby przywrócić chatbota */
.chatbot-widget,
.ai-section,
[onclick="openChatbot()"] {
    display: none !important;
}

.chatbot-widget {
    position: fixed;
    bottom: 80px;
    right: 24px;
    z-index: 999;
}

.chatbot-trigger {
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 14px 22px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(238,32,46,0.3);
    transition: all 0.25s ease;
}

.chatbot-trigger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(238,32,46,0.35);
}

.chatbot-icon {
    width: 24px;
    height: 24px;
    fill: white;
}

.chatbot-label {
    font-size: 15px;
    font-weight: 500;
}

.chatbot-window {
    position: fixed;
    bottom: 140px;
    right: 24px;
    width: 380px;
    height: 500px;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.chatbot-window.active {
    display: flex;
}

.chatbot-header {
    background: var(--gradient-primary);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header h3 {
    margin: 0;
    font-size: 18px;
}

.chatbot-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.chatbot-input {
    display: flex;
    padding: 16px;
    border-top: 1px solid var(--border-color);
}

.chatbot-input input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    font-size: 16px; /* Minimum 16px zapobiega zoomowi na iOS */
    outline: none;
}

.chatbot-input input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(239, 144, 23, 0.1);
}

.chatbot-input button {
    background: var(--accent-color);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    margin-left: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.chatbot-input button:hover {
    background: var(--gradient-accent);
    transform: scale(1.05);
}

.chatbot-input svg {
    width: 20px;
    height: 20px;
    fill: white;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.parallax {
    transform: translateY(0);
    transition: transform 0.5s ease;
}

/* Build Assist Section */
.build-section {
    padding: 120px 0;
    background: white;
}

.build-intro {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 64px;
}

.build-lead {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-light);
    margin-top: -12px;
}

.build-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 56px;
}

.build-card {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 36px 32px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1.5px solid transparent;
}

.build-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.build-card-highlight {
    background: var(--primary-color);
    color: white;
    border-color: transparent;
}

.build-card-highlight:hover {
    box-shadow: 0 12px 40px rgba(38,50,56,0.25);
}

.build-card-badge {
    position: absolute;
    top: -13px;
    left: 28px;
    background: var(--accent-color);
    color: white;
    font-size: 12px;
    font-weight: 500;
    padding: 5px 18px;
    border-radius: 20px;
    letter-spacing: 0.03em;
}

.build-card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
}

.build-card-icon svg {
    width: 48px;
    height: 48px;
    stroke: var(--accent-color);
}

.build-card-highlight .build-card-icon svg {
    stroke: rgba(255,255,255,0.8);
}

.build-card-tag {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 8px;
}

.build-card-highlight .build-card-tag {
    color: rgba(255,255,255,0.5);
}

.build-card h3 {
    font-family: 'Raleway', sans-serif;
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 12px;
}

.build-card p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.build-card-highlight p {
    color: rgba(255,255,255,0.65);
}

.build-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.build-features li {
    font-size: 14px;
    font-weight: 300;
    padding-left: 22px;
    position: relative;
    color: var(--text-light);
}

.build-card-highlight .build-features li {
    color: rgba(255,255,255,0.8);
}

.build-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1.5px solid var(--accent-color);
}

.build-card-highlight .build-features li::before {
    border-color: rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.1);
}

.build-for {
    font-size: 13px;
    font-style: italic;
    color: var(--text-secondary);
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.build-card-highlight .build-for {
    color: rgba(255,255,255,0.45);
    border-top-color: rgba(255,255,255,0.12);
}

.build-cta {
    text-align: center;
}

.build-cta p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.build-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Compare Section */
.compare-section {
    padding: 120px 0;
    background: var(--bg-light);
}

.compare-section .section-subtitle {
    text-align: center;
    max-width: 600px;
    margin: -16px auto 48px;
    font-size: 16px;
    color: var(--text-secondary);
}


.compare-table-wrapper {
    overflow-x: auto;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    background: white;
    margin-bottom: 64px;
    -webkit-overflow-scrolling: touch;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.compare-table thead {
    position: sticky;
    top: 0;
    z-index: 10;
}

.compare-category-header {
    background: var(--primary-color);
    color: white;
    padding: 16px 24px;
    text-align: left;
    font-weight: 400;
    font-size: 13px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    min-width: 200px;
}

.compare-model-header {
    background: var(--primary-color);
    color: white;
    padding: 20px 16px;
    text-align: center;
    min-width: 180px;
    transition: all 0.4s ease;
}

.compare-model-header img {
    width: 80px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 8px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.compare-model-header span {
    display: block;
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0.02em;
}

.compare-group-header td {
    background: var(--bg-light);
    padding: 12px 24px;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
}

.compare-table tbody tr {
    transition: background 0.2s ease;
}

.compare-table tbody tr:not(.compare-group-header):hover {
    background: rgba(238,32,46,0.03);
}

.compare-label {
    padding: 14px 24px;
    font-weight: 400;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-color);
    white-space: nowrap;
}

.compare-table tbody td:not(.compare-label) {
    padding: 14px 16px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    font-weight: 300;
    color: var(--text-light);
    transition: all 0.4s ease;
}

.compare-table tbody td.compare-best {
    color: var(--accent-color);
    font-weight: 500;
    position: relative;
}

.compare-table tbody td.compare-best::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    background: rgba(238,32,46,0.05);
    border-radius: 8px;
    z-index: -1;
}

/* Compare Visual Bars */
.compare-bars-section {
    margin-bottom: 48px;
}

.compare-bars-section h3 {
    text-align: center;
    margin-bottom: 40px;
    font-weight: 300;
}

.compare-bars {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

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

.compare-bar-group-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 4px;
    letter-spacing: 0.02em;
}

.compare-bar-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.compare-bar-label {
    width: 110px;
    font-size: 13px;
    font-weight: 400;
    color: var(--text-secondary);
    text-align: right;
    flex-shrink: 0;
}

.compare-bar-track {
    flex: 1;
    height: 28px;
    background: var(--bg-light);
    border-radius: 14px;
    overflow: hidden;
    position: relative;
}

.compare-bar-fill {
    height: 100%;
    border-radius: 14px;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
    width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 12px;
    position: relative;
}

.compare-bar-fill.bar-tsi {
    background: linear-gradient(90deg, var(--accent-color) 0%, #FF4444 100%);
}

.compare-bar-fill.bar-highwing {
    background: linear-gradient(90deg, #37474F 0%, #546E7A 100%);
}

.compare-bar-fill.bar-sling2 {
    background: linear-gradient(90deg, #455A64 0%, #78909C 100%);
}

.compare-bar-value {
    font-size: 12px;
    font-weight: 600;
    color: white;
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.compare-bars-section.animated .compare-bar-fill {
    width: var(--bar-width);
}

/* Calculator Section */
.calculator-section {
    padding: 120px 0;
    background: white;
}

.calculator-section .section-subtitle {
    text-align: center;
    max-width: 600px;
    margin: -16px auto 48px;
    font-size: 16px;
    color: var(--text-secondary);
}

.calc-controls {
    max-width: 700px;
    margin: 0 auto 48px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.calc-slider-group label,
.calc-fuel-group label {
    display: block;
    font-weight: 400;
    font-size: 15px;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.calc-slider-row {
    display: flex;
    align-items: center;
    gap: 20px;
}

.calc-slider-row input[type="range"] {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    background: var(--bg-light);
    border-radius: 3px;
    outline: none;
    cursor: pointer;
}

.calc-slider-row input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    background: var(--accent-color);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(238,32,46,0.3);
    transition: transform 0.2s ease;
}

.calc-slider-row input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.calc-slider-row input[type="range"]::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: var(--accent-color);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(238,32,46,0.3);
}

.calc-hours-display {
    font-family: 'Raleway', sans-serif;
    font-size: 28px;
    font-weight: 300;
    color: var(--accent-color);
    min-width: 80px;
    text-align: right;
}

.calc-slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.calc-fuel-inputs {
    display: flex;
    gap: 24px;
}

.calc-fuel-input {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-light);
    border-radius: 12px;
    padding: 12px 16px;
}

.calc-fuel-label {
    font-size: 13px;
    color: var(--text-secondary);
    white-space: nowrap;
}

.calc-fuel-input input {
    width: 80px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 8px 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 400;
    text-align: center;
    outline: none;
    transition: border-color 0.2s ease;
}

.calc-fuel-input input:focus {
    border-color: var(--accent-color);
}

/* Calculator Result Cards */
.calc-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.calc-card {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 28px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.calc-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.calc-card-sling {
    background: var(--primary-color);
    color: white;
}

.calc-card-badge {
    position: absolute;
    top: -12px;
    left: 24px;
    background: var(--accent-color);
    color: white;
    font-size: 12px;
    font-weight: 500;
    padding: 4px 16px;
    border-radius: 20px;
    letter-spacing: 0.03em;
}

.calc-card-header h3 {
    font-family: 'Raleway', sans-serif;
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 4px;
}

.calc-card-specs {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 300;
}

.calc-card-sling .calc-card-specs {
    color: rgba(255,255,255,0.6);
}

.calc-card-fuel {
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.calc-metric {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.calc-metric-label {
    font-size: 13px;
    color: var(--text-secondary);
}

.calc-card-sling .calc-metric-label {
    color: rgba(255,255,255,0.6);
}

.calc-metric-value {
    font-size: 14px;
    font-weight: 500;
}

.calc-fuel-type {
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 12px;
}

.calc-fuel-type.mogas {
    background: rgba(76,175,80,0.15);
    color: #2E7D32;
}

.calc-card-sling .calc-fuel-type.mogas {
    background: rgba(76,175,80,0.25);
    color: #81C784;
}

.calc-fuel-type.avgas {
    background: rgba(255,152,0,0.12);
    color: #E65100;
}

.calc-card-cost {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    margin-top: 8px;
}

.calc-card-sling .calc-card-cost {
    border-top-color: rgba(255,255,255,0.15);
}

.calc-cost-main {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 4px;
}

.calc-cost-label {
    font-size: 13px;
    color: var(--text-secondary);
}

.calc-card-sling .calc-cost-label {
    color: rgba(255,255,255,0.6);
}

.calc-cost-value {
    font-family: 'Raleway', sans-serif;
    font-size: 26px;
    font-weight: 400;
    color: var(--text-dark);
}

.calc-card-sling .calc-cost-value {
    color: #81C784;
    font-weight: 500;
}

.calc-cost-hourly {
    text-align: right;
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 300;
}

.calc-card-sling .calc-cost-hourly {
    color: rgba(255,255,255,0.5);
}

.calc-card-diff {
    margin-top: 16px;
    padding: 10px 16px;
    background: rgba(238,32,46,0.06);
    border-radius: 10px;
    font-size: 14px;
    color: var(--text-secondary);
    text-align: center;
}

.calc-card-diff strong {
    color: var(--accent-color);
    font-weight: 600;
}

/* Savings summary */
.calc-savings {
    max-width: 800px;
    margin: 0 auto;
}

.calc-savings-inner {
    background: linear-gradient(135deg, rgba(238,32,46,0.04) 0%, rgba(255,68,68,0.08) 100%);
    border: 1px solid rgba(238,32,46,0.15);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
}

.calc-savings-inner p {
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
}

.calc-savings-inner p:last-child {
    margin-bottom: 0;
}

.calc-savings-note {
    font-size: 13px !important;
    color: var(--text-secondary) !important;
}

/* Distributor Bar */
.distributor-bar {
    background: var(--bg-dark);
    padding: 20px 0;
}

.distributor-bar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
}

.distributor-label {
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
}

.distributor-logos {
    display: flex;
    align-items: center;
    gap: 40px;
}

.distributor-logo {
    height: 32px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.distributor-logo:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .distributor-bar-inner {
        flex-direction: column;
        gap: 12px;
    }

    .distributor-logos {
        gap: 28px;
    }

    .distributor-logo {
        height: 26px;
    }
}

/* DUC Section */
.duc-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.duc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.duc-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

.duc-logo {
    height: 56px;
    width: auto;
    margin-bottom: 24px;
}

.duc-text h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.duc-text p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.duc-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
}

.duc-features li {
    padding: 8px 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 24px;
}

.duc-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 600;
}

@media (max-width: 768px) {
    .duc-section {
        padding: 48px 0;
    }

    .duc-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .duc-text h2 {
        font-size: 1.5rem;
    }

    .duc-logo {
        height: 44px;
    }
}

/* Sticky Mobile CTA */
.sticky-cta {
    display: none;
}

@media (max-width: 768px) {
    .sticky-cta {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 998;
        padding: 12px 16px;
        padding-bottom: calc(12px + env(safe-area-inset-bottom));
        background: rgba(255,255,255,0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        box-shadow: 0 -2px 20px rgba(0,0,0,0.1);
        transform: translateY(100%);
        visibility: hidden;
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s 0.4s;
    }

    .sticky-cta.visible {
        transform: translateY(0);
        visibility: visible;
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s 0s;
    }

    .sticky-cta-btn {
        display: block;
        width: 100%;
        text-align: center;
        padding: 14px 24px;
        background: var(--accent-color);
        color: white;
        text-decoration: none;
        font-family: 'Poppins', sans-serif;
        font-size: 13px;
        font-weight: 400;
        letter-spacing: 0.06em;
        border-radius: 8px;
        box-shadow: 0 4px 16px rgba(238,32,46,0.25);
    }

    .sticky-cta-btn:active {
        transform: scale(0.98);
    }

    /* Podnieś chatbota nad sticky CTA */
    .chatbot-widget {
        bottom: 76px;
    }

    .chatbot-window {
        bottom: 136px;
    }
}

/* Compare CTA */
.compare-cta {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Responsive Design */

/* Tablet */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .configurator-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ai-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .lifestyle-item {
        height: 380px;
    }

    .about-hero {
        height: 300px;
        margin-bottom: 40px;
    }

    .models,
    .configurator,
    .technical,
    .safety,
    .process,
    .faq,
    .ai-section,
    .contact,
    .compare-section,
    .build-section,
    .calculator-section {
        padding: 80px 0;
    }

    .about-sling {
        padding: 0 0 80px 0;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 12px 20px;
        gap: 0;
        box-shadow: var(--shadow-md);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        display: block;
        padding: 14px 0;
        min-height: 44px;
    }

    .nav-cta {
        margin: 8px 0;
        padding: 12px 24px !important;
        text-align: center;
    }

    .nav-toggle {
        display: flex;
        min-width: 44px;
        min-height: 44px;
        align-items: center;
        justify-content: center;
    }

    .hero {
        min-height: 500px;
    }

    .hero-content {
        padding: 30px 20px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

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

    .lifestyle-item {
        height: 280px;
    }

    .about-hero {
        height: 220px;
        margin-bottom: 32px;
    }

    .about-stats {
        grid-template-columns: 1fr 1fr;
    }

    .models-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .model-image {
        height: 200px;
    }

    .model-content {
        padding: 24px;
    }

    .model-buttons {
        flex-direction: column;
    }

    .model-buttons .btn {
        min-width: unset;
    }

    .configurator-preview {
        padding: 20px;
    }

    .tab-buttons {
        flex-wrap: wrap;
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .tech-card {
        padding: 20px;
    }

    .safety-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .safety-icon {
        width: 100px;
        height: 100px;
        border-radius: 16px;
    }

    .safety-icon img {
        width: 80px;
        height: 80px;
    }

    .safety-card h3 {
        font-size: 16px;
    }

    .safety-card p {
        font-size: 13px;
    }

    .process-steps {
        flex-direction: column;
    }

    .process-arrow {
        transform: rotate(90deg);
    }

    .contact-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-card {
        padding: 28px;
    }

    .contact-cta {
        padding: 40px 24px;
    }

    .contact-cta h3 {
        font-size: 24px;
    }

    .contact-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .section-title {
        margin-bottom: 40px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-brand {
        flex-direction: column;
        gap: 10px;
    }

    .footer-social {
        flex-direction: column;
        gap: 10px;
    }

    .social-icons {
        justify-content: center;
    }

    .models,
    .configurator,
    .technical,
    .safety,
    .process,
    .faq,
    .ai-section,
    .contact,
    .compare-section,
    .build-section,
    .calculator-section {
        padding: 60px 0;
    }

    .build-options {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .build-card-highlight {
        order: -1;
    }

    .calc-results {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .calc-fuel-inputs {
        flex-direction: column;
        gap: 12px;
    }

    .calc-cost-value {
        font-size: 22px;
    }

    .calc-hours-display {
        font-size: 24px;
    }

    .compare-selector {
        gap: 10px;
    }

    .compare-toggle {
        padding: 10px 16px;
        font-size: 13px;
    }

    .compare-toggle img {
        width: 32px;
        height: 32px;
    }

    .compare-label {
        padding: 12px 16px;
        font-size: 13px;
    }

    .compare-table tbody td:not(.compare-label) {
        padding: 12px 10px;
        font-size: 13px;
    }

    .compare-category-header {
        min-width: 140px;
        padding: 12px 16px;
        font-size: 12px;
    }

    .compare-model-header {
        min-width: 130px;
        padding: 14px 10px;
    }

    .compare-model-header img {
        width: 60px;
        height: 38px;
    }

    .compare-model-header span {
        font-size: 13px;
    }

    .compare-bar-label {
        width: 80px;
        font-size: 12px;
    }

    .compare-bar-track {
        height: 24px;
    }

    .about-sling {
        padding: 0 0 60px 0;
    }

    /* Przesunięcie chatbota niżej w wersji mobilnej */
    .chatbot-widget {
        bottom: 20px;
    }

    .chatbot-window {
        width: calc(100vw - 32px);
        height: calc(100vh - 100px);
        max-height: 500px;
        right: 16px;
        left: 16px;
        bottom: 80px;
        position: fixed;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 24px;
    }

    .hero {
        min-height: 450px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-description {
        font-size: 15px;
        margin-bottom: 32px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 13px;
    }

    .btn-large {
        padding: 14px 32px !important;
        font-size: 14px !important;
    }

    .lifestyle-item {
        height: 220px;
    }

    .lifestyle-text h3 {
        font-size: 20px;
    }

    .about-hero {
        height: 180px;
    }

    .about-stats {
        gap: 12px;
    }

    .about-stats .stat-card {
        padding: 20px;
    }

    .about-stats .stat-card h3 {
        font-size: 24px;
    }

    .tech-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .tech-card {
        padding: 16px;
    }

    .tech-value {
        font-size: 24px;
    }

    .tech-card h4 {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .tech-label {
        font-size: 12px;
    }

    .safety-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .safety-icon {
        width: 80px;
        height: 80px;
    }

    .safety-icon img {
        width: 60px;
        height: 60px;
    }

    .faq-question {
        padding: 18px 20px;
        font-size: 15px;
    }

    .faq-answer p {
        padding: 16px 20px;
        font-size: 14px;
    }

    .contact-card {
        padding: 24px;
    }

    .contact-cta h3 {
        font-size: 20px;
    }

    .contact-cta p {
        font-size: 15px;
    }

    .nav-container {
        padding: 12px 16px;
    }

    .container {
        padding: 0 16px;
    }

    /* Chatbot */
    .chatbot-window {
        height: calc(100vh - 120px);
        max-height: 450px;
        bottom: 70px;
    }
}

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(30, 30, 30, 0.98);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px 25px;
    max-width: 500px;
    width: 90%;
    z-index: 10000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease-out;
    display: none;
}

/* Overlay for cookie consent */
.cookie-consent.show::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: -1;
    pointer-events: none;
}

.cookie-consent.show {
    display: block;
}

@keyframes slideUp {
    from {
        transform: translate(-50%, 100px);
        opacity: 0;
    }
    to {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

.cookie-content {
    text-align: center;
}

.cookie-content p {
    color: #ffffff;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 15px 0;
    font-family: 'Raleway', sans-serif;
}

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

.cookie-buttons button {
    padding: 10px 25px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.btn-accept, .btn-accept-return {
    background: var(--color-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(239, 144, 23, 0.3);
}

.btn-accept:hover, .btn-accept-return:hover {
    background: #d17c0c;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(239, 144, 23, 0.4);
}

.btn-reject, .btn-redirect {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-reject:hover, .btn-redirect:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

/* Redirect Modal */
.redirect-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(30, 30, 30, 0.98);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    max-width: 450px;
    width: 90%;
    z-index: 10001;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    text-align: center;
}

/* Overlay for redirect modal */
.redirect-modal::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: -1;
    pointer-events: none;
}

.redirect-title {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
}

.redirect-message {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    font-family: 'Raleway', sans-serif;
}

.redirect-countdown {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    margin: 15px 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.redirect-checkbox {
    margin: 20px 0;
    text-align: left;
}

.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Raleway', sans-serif;
    gap: 10px;
}

.checkbox-container input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.checkbox-container:hover .checkmark {
    border-color: rgba(255, 255, 255, 0.5);
}

.checkbox-container input[type="checkbox"]:checked + .checkmark {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.checkbox-container input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.redirect-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 20px;
}

/* Disabled state for redirect button */
.btn-redirect:disabled {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.08);
    cursor: not-allowed;
}

.btn-redirect:disabled:hover {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.3);
    transform: none;
}

/* Redirect modal buttons - inherit base styles and colors from cookie buttons */
.btn-redirect, .btn-accept-return {
    padding: 10px 25px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

/* Pulse animation for buttons */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(239, 144, 23, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(239, 144, 23, 0.5);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(239, 144, 23, 0.3);
    }
}

@keyframes pulseReject {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 rgba(255, 255, 255, 0);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 rgba(255, 255, 255, 0);
    }
}

.btn-accept.pulse {
    animation: pulse 0.6s ease-in-out 2;
}

.btn-reject.pulse {
    animation: pulseReject 0.6s ease-in-out 2;
}

.btn-accept-return.pulse {
    animation: pulse 0.6s ease-in-out 2;
}

.btn-redirect.pulse {
    animation: pulseReject 0.6s ease-in-out 2;
}

/* Click overlay to detect clicks outside */
.cookie-overlay, .redirect-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: none;
}

.cookie-overlay.show, .redirect-overlay.show {
    display: block;
}

@media (max-width: 768px) {
    .cookie-consent {
        bottom: 10px;
        width: 95%;
        padding: 16px 20px;
    }

    .cookie-buttons button {
        padding: 12px 24px;
        min-height: 44px;
    }

    .redirect-modal {
        padding: 24px;
    }

    .redirect-buttons {
        flex-direction: column;
    }

    .redirect-buttons button {
        width: 100%;
        min-height: 44px;
    }
}

@media (max-width: 480px) {
    .cookie-consent {
        bottom: 8px;
        padding: 14px 16px;
    }

    .cookie-content p {
        font-size: 13px;
    }

    .cookie-buttons button {
        padding: 10px 20px;
        font-size: 13px;
    }

    .redirect-modal {
        padding: 20px;
    }

    .checkbox-container {
        font-size: 13px;
        gap: 8px;
    }

    .checkmark {
        width: 18px;
        height: 18px;
    }
}