/* ============================================
   IZOPOL - PROFESJONALNA STRONA FIRMOWA
   Nowoczesny design bazowany na brandzie Izopol
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --main: #0f1340;        /* granat */
    --secondary: #1b2266;   /* jaśniejszy granat */
    --primary: #fc4603;     /* akcent / przyciski */
    --primary-dark: #d53a00;
    --primary-light: #ff7a45;
    --accent: #fc4603;
    --accent-dark: #d53a00;
    --text: #0f1340;        /* bazowy tekst na jasnym tle */
    --text-light: #5c6590;
    --bg: #ffffff;
    --bg-light: #f6f7fb;
    --bg-dark: #0f1340;
    --bg-red-light: #fff1eb;
    --border: #dfe3ef;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-red: 0 10px 25px rgba(252, 70, 3, 0.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body.loading {
    overflow: hidden;
}

/* ============================================
   PRELOADER - NOWOCZESNE ŁADOWANIE
   ============================================ */

.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease-out, visibility 0.6s ease-out;
}

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

.loader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.loader-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.loader-logo-image {
    height: 120px;
    width: auto;
    object-fit: contain;
    animation: logoFadeIn 0.8s ease-out;
    max-width: 300px;
}

.loader-progress {
    width: 300px;
    height: 3px;
    background: var(--border);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.loader-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 10px;
    width: 0%;
    animation: progressLoad 1.5s ease-out forwards;
    position: relative;
}

.loader-progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 1.5s infinite;
}

.loader-text {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    animation: textFade 1.5s ease-out;
}

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

@keyframes progressLoad {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
}

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

@keyframes textFade {
    0%, 50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Fade in dla treści po załadowaniu */
.site-main {
    opacity: 0;
    animation: contentFadeIn 0.8s ease-out 0.3s forwards;
}

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============================================
   HEADER - NOWOCZESNY Z BRANDEM IZOPOL
   ============================================ */

.site-header {
    background: var(--bg);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--primary);
}

.header-top-bar {
    background: var(--main);
    color: #fff;
    padding: 0.6rem 0;
    font-size: 0.875rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
}

.contact-item svg {
    opacity: 0.9;
}

.header-actions {
    display: flex;
    gap: 1.5rem;
}

.top-link {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.top-link:hover {
    color: #fff;
    text-decoration: underline;
}

.header-main {
    background: var(--bg);
    padding: 1.25rem 0;
}

.header-main .container {
    padding-left: 2rem;
    padding-right: 2rem;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s;
}

.logo a:hover {
    opacity: 0.8;
}

.logo-image {
    height: 60px;
    width: auto;
    object-fit: contain;
    display: block;
}

.main-nav {
    flex: 1;
    padding-right: 1rem;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 0.15rem;
    align-items: center;
    justify-content: flex-end;
    margin-right: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.65rem 0.9rem;
    position: relative;
    transition: all 0.3s ease;
    letter-spacing: 0.2px;
    border-radius: 8px;
    display: inline-block;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary);
    transition: width 0.3s ease;
    border-radius: 3px 3px 0 0;
}

.nav-link:hover {
    color: var(--primary);
    background: rgba(252, 70, 3, 0.05);
}

.nav-link.active {
    color: var(--primary);
    font-weight: 700;
}

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ============================================
   MAIN CONTENT
   ============================================ */

.site-main {
    min-height: calc(100vh - 400px);
}

/* ============================================
   HOME PAGE - HERO SECTION
   ============================================ */

.home-hero {
    position: relative;
    min-height: 750px;
    height: 100vh;
    max-height: 900px;
    background: linear-gradient(135deg, var(--main) 0%, var(--secondary) 50%, var(--main) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: -1px;
    text-align: center;
}

.home-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 4rem 2rem;
    max-width: 950px;
    width: 100%;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
    text-transform: uppercase;
    text-align: center;
    width: 100%;
}

.hero-description {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    line-height: 1.7;
    opacity: 0.95;
    font-weight: 300;
    text-align: center;
    width: 100%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
}

/* ============================================
   QUICK LINKS
   ============================================ */
.quick-links {
    padding: 4rem 0 2rem;
    background: var(--bg-light);
}

.quick-links .section-title {
    text-align: center;
    margin-bottom: 2rem;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.quick-link-card {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 1.1rem 1.2rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    color: var(--text);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.quick-link-card:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.ql-ico {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(252, 70, 3, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.ql-text h3 {
    margin: 0 0 0.15rem;
    font-size: 1.05rem;
    font-weight: 700;
}

.ql-text p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.95rem;
}

.btn-hero-primary {
    background: #fff;
    color: var(--primary);
    padding: 1.25rem 3rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-hero-primary:hover {
    background: var(--bg-light);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.btn-hero-secondary {
    background: transparent;
    color: #fff;
    border: 3px solid rgba(255, 255, 255, 0.9);
    padding: 1.25rem 3rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
    transform: translateY(-3px);
}

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

/* ============================================
   SECTIONS
   ============================================ */

.services-section,
.about-section,
.features-section,
.b2b-section {
    padding: 6rem 0;
}

.services-section,
.features-section {
    background: var(--bg);
}

.about-section,
.b2b-section {
    background: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 900;
    color: var(--text);
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 1.5rem;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 5px;
    background: var(--primary);
    border-radius: 3px;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.service-card {
    background: var(--bg);
    padding: 2rem 1.75rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    border: 2px solid var(--border);
    position: relative;
    overflow: hidden;
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.service-card-soon {
    opacity: 0.7;
    cursor: default;
}

.service-card-soon:hover {
    transform: none;
    border-color: var(--border);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.service-icon {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(0);
    transition: transform 0.3s;
    color: var(--main);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-icon-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    display: block;
}

.service-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
    letter-spacing: 0.3px;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
    font-size: 0.9rem;
}

.btn-service {
    background: var(--primary);
    color: #fff;
    padding: 0.9rem 2.25rem;
    border-radius: 50px;
    font-weight: 700;
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-service:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-red);
}

/* About Section */
.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-text {
    text-align: center;
}

.about-text h2 {
    font-size: 3rem;
    font-weight: 900;
    color: var(--text);
    margin-bottom: 2rem;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.about-text p {
    font-size: 1.2rem;
    line-height: 1.9;
    color: var(--text);
    margin-bottom: 1.5rem;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.feature-item {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--bg);
    border-radius: 16px;
    transition: all 0.3s;
    border: 2px solid var(--border);
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.feature-number {
    font-size: 5.5rem;
    font-weight: 900;
    color: var(--primary);
    opacity: 0.15;
    margin-bottom: 1rem;
    line-height: 1;
    font-family: 'Arial', sans-serif;
}

.feature-item h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feature-item p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* B2B Section */
.b2b-box {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
    padding: 5rem 4rem;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    border-radius: 20px;
    color: #fff;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.b2b-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.b2b-box h2 {
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
    color: #fff;
    font-weight: 900;
    position: relative;
    z-index: 1;
    text-transform: uppercase;
}

.b2b-box p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.btn-b2b {
    background: #fff;
    color: var(--primary);
    padding: 1.25rem 3.5rem;
    font-size: 1.15rem;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    position: relative;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-b2b:hover {
    background: var(--bg-light);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

/* ============================================
   GENERIC PAGE - SPÓJNY LAYOUT DLA PODSTRON CMS
   ============================================ */

.page-hero {
    background: linear-gradient(135deg, var(--main) 0%, var(--secondary) 100%);
    padding: 4rem 0 3rem;
    text-align: center;
    border-bottom: 3px solid var(--primary);
}

.page-hero-title {
    font-size: 3rem;
    font-weight: 900;
    color: #fff;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-section {
    padding: 5rem 0;
    background: var(--bg);
}

.page-content {
    max-width: 900px;
    margin: 0 auto;
}

.page-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text);
}

.page-body h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text);
    margin: 3rem 0 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border-left: 5px solid var(--primary);
    padding-left: 1.5rem;
}

.page-body h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin: 2rem 0 1rem;
}

.page-body p {
    margin-bottom: 1.5rem;
    line-height: 1.9;
}

.page-body ul,
.page-body ol {
    margin: 1.5rem 0 1.5rem 2rem;
    line-height: 1.9;
}

.page-body li {
    margin-bottom: 0.75rem;
}

.page-body a {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s;
}

.page-body a:hover {
    color: var(--primary-dark);
}

.page-body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: var(--shadow-lg);
}

.page-body blockquote {
    border-left: 4px solid var(--primary);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-light);
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
}

.page-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    box-shadow: var(--shadow);
    border-radius: 8px;
    overflow: hidden;
}

.page-body table th {
    background: var(--main);
    color: #fff;
    padding: 1rem;
    text-align: left;
    font-weight: 700;
}

.page-body table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
}

.page-body table tr:hover {
    background: var(--bg-light);
}

/* ============================================
   FOOTER - PROFESJONALNY Z BRANDEM
   ============================================ */

.site-footer {
    background: var(--bg-dark);
    color: #fff;
    margin-top: 6rem;
}

.footer-wrapper {
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.footer-logo-image,
.footer-logo img,
.footer-logo-image img,
.site-footer .footer-logo-image,
.site-footer img.footer-logo-image {
    height: 35px !important;
    max-height: 35px !important;
    width: auto !important;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(196, 30, 58, 0.2);
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s;
    border: 2px solid rgba(196, 30, 58, 0.3);
}

.social-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.footer-map iframe {
    width: 100%;
    min-height: 220px;
    border: 0;
    border-radius: 8px;
    margin-top: 0.75rem;
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-line {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-line svg {
    flex-shrink: 0;
    margin-top: 2px;
    opacity: 0.8;
}

.footer-bottom {
    border-top: 1px solid rgba(196, 30, 58, 0.3);
    padding-top: 2rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-bottom-links a:hover {
    color: var(--primary);
}

.footer-bottom-links span {
    opacity: 0.3;
}

/* ============================================
   PAGE CONTENT - GENERIC PAGES
   ============================================ */

.page-content {
    padding: 4rem 0;
}

.page-content h1 {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text);
    margin-bottom: 2rem;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 1.5rem;
}

.page-content h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 120px;
    height: 5px;
    background: var(--primary);
    border-radius: 3px;
}

.page-body {
    line-height: 1.8;
    color: var(--text);
    font-size: 1.05rem;
}

.page-body p {
    margin-bottom: 1.5rem;
}

.page-body h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.page-body h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.page-body ul,
.page-body ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.page-body li {
    margin-bottom: 0.75rem;
}

.page-body a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.page-body a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* ============================================
   FORMS & ALERTS
   ============================================ */

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    font-weight: 600;
    color: var(--text);
    font-size: 0.95rem;
    text-align: left;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    transition: all 0.3s;
    font-family: inherit;
    background: var(--bg);
    box-sizing: border-box;
    margin-left: 0;
    margin-right: 0;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(196, 30, 58, 0.1);
}

.form-group small {
    display: block;
    margin-top: 0.5rem;
    color: var(--text-light);
    font-size: 0.875rem;
}

.alert {
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid;
    font-weight: 500;
}

.alert-error {
    background: var(--bg-red-light);
    color: var(--primary-dark);
    border-color: var(--primary);
}

.alert-success {
    background: #f0fdf4;
    color: #166534;
    border-color: #22c55e;
}

/* ============================================
   FACADE WIZARD - GENERATOR WIZUALIZACJI
   ============================================ */

.facade-wizard-page {
    padding: 4rem 0;
    min-height: 60vh;
}

.wizard-container {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    background: var(--bg);
    padding: 3.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    border: 2px solid var(--border);
}

.wizard-container h1 {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text);
    margin-bottom: 1rem;
    text-align: center;
    text-transform: uppercase;
}

.wizard-intro {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    line-height: 1.7;
    font-size: 1.1rem;
}

.wizard-form {
    margin-top: 2rem;
}

.form-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border);
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-submit {
    text-align: center;
    margin-top: 2rem;
}

.form-note {
    margin-top: 1rem;
    color: var(--text-light);
    font-size: 0.9rem;
    font-style: italic;
}

.tile-info {
    margin-top: 0.5rem;
    padding: 0.75rem;
    background: var(--bg-light);
    border-radius: 6px;
    color: var(--text);
    font-size: 0.9rem;
}

/* ============================================
   FACADE SMS GATEWAY
   ============================================ */

.facade-sms-gateway {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
}

.gateway-container {
    max-width: 550px;
    width: 100%;
    background: var(--bg);
    padding: 3.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    border: 2px solid var(--border);
}

.gateway-container h1 {
    font-size: 2.25rem;
    font-weight: 900;
    color: var(--text);
    margin-bottom: 1rem;
    text-align: center;
    text-transform: uppercase;
}

.gateway-intro {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    font-size: 1.05rem;
}

.code-input {
    font-size: 1.8rem;
    text-align: center;
    letter-spacing: 0.8rem;
    font-weight: 600;
    padding: 1.25rem;
}

.btn-large {
    width: 100%;
    padding: 1.25rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================
CONTACT FORM
   ============================================ */

.contact-section {
    padding: 6rem 0;
    background: var(--bg-light);
    min-height: 60vh;
}

.contact-page-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text);
    margin-bottom: 3rem;
    text-align: center;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 1.5rem;
}

.contact-page-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 5px;
    background: var(--primary);
    border-radius: 3px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: start;
    margin-bottom: 0;
}

.contact-wrapper + .contact-map-container-full {
    margin-top: 3rem;
}

.contact-left {
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    padding: 3.5rem;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.04);
    border: none;
    position: relative;
    overflow: hidden;
}

.contact-form-container {
    padding: 0;
}

.contact-left::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.contact-right {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: sticky;
    top: 2rem;
}

.contact-form-header {
    padding: 0 0 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    min-height: 5rem;
}

.contact-form-header-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 8px 24px rgba(196, 30, 58, 0.25);
    flex-shrink: 0;
}

.contact-form-container h2 {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--text);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    min-height: 2.5rem;
    display: flex;
    align-items: center;
}

.contact-info-container h2 {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--text);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    min-height: 2.5rem;
    display: flex;
    align-items: center;
}

.contact-map-container h2,
.contact-map-container-full h2 {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--text);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    min-height: 2.5rem;
    display: flex;
    align-items: center;
}

.contact-intro {
    color: var(--text-light);
    margin-bottom: 2.5rem;
    margin-top: 0;
    line-height: 1.8;
    font-size: 1rem;
    font-weight: 400;
}

.contact-success-message {
    text-align: center;
    padding: 3rem 2rem;
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg);
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    border: 2px solid var(--border);
}

.contact-success-message .alert-success {
    margin-bottom: 2rem;
    padding: 2rem;
}

.contact-success-message .success-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
}

.contact-success-message .success-text {
    font-size: 1.125rem;
    color: var(--text);
    margin: 0;
}

.contact-success-actions {
    margin-top: 2rem;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-success-actions .btn {
    padding: 0.875rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    color: #ffffff !important;
    background: var(--primary) !important;
}

.contact-success-actions .btn:hover {
    background: var(--primary-dark) !important;
    color: #ffffff !important;
}

.contact-form {
    margin-top: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
}

.form-row .form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
    align-items: stretch;
}

.form-row .form-group label {
    min-height: 2.5rem;
    display: block;
    line-height: 1.5;
    text-align: left !important;
    width: 100%;
    margin-bottom: 0.5rem;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box;
}

.contact-form .form-group input,
.contact-form .form-group textarea {
    transition: all 0.3s ease;
    border: 2px solid var(--border);
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(196, 30, 58, 0.1), 0 4px 12px rgba(196, 30, 58, 0.1);
    transform: translateY(-2px);
}

.contact-form .form-row .form-group {
    margin-bottom: 0;
}

.contact-form .form-row + .form-group {
    margin-top: 1.5rem;
}

.contact-info-container {
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    padding: 3.5rem 2.5rem 2.5rem;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.04);
    border: none;
    overflow: hidden;
    position: relative;
}

.contact-info-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.contact-info-header {
    padding: 0 0 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    min-height: 5rem;
}

.contact-info-header-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 8px 24px rgba(196, 30, 58, 0.25);
    flex-shrink: 0;
}

.contact-info-items {
    padding: 0;
}

.contact-info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
    padding: 1.25rem;
    border-radius: 16px;
    transition: all 0.3s ease;
    background: transparent;
}

.contact-info-item:hover {
    background: rgba(196, 30, 58, 0.03);
    transform: translateX(5px);
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-info-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 16px rgba(196, 30, 58, 0.2);
    transition: all 0.3s ease;
}

.contact-info-item:hover .contact-info-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(196, 30, 58, 0.3);
}

.contact-info-content h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.95rem;
}

.contact-info-content p {
    color: var(--text-light);
    margin: 0.35rem 0;
    line-height: 1.7;
    font-size: 0.95rem;
}

.contact-info-content p strong {
    color: var(--text);
    font-weight: 600;
}

.contact-info-content a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    display: inline-block;
    position: relative;
}

.contact-info-content a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.contact-info-content a:hover {
    color: var(--primary-dark);
    transform: translateX(3px);
}

.contact-info-content a:hover::after {
    width: 100%;
}

.contact-map-container {
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    padding: 0;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.04);
    border: none;
    overflow: hidden;
    position: relative;
}

.contact-map-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.contact-map-container-full {
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    padding: 0;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.04);
    border: none;
    overflow: hidden;
    position: relative;
    margin-top: 3rem;
    width: 100%;
    max-width: 100%;
}

.contact-map-container-full::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.contact-map-header {
    padding: 2.5rem 2.5rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
}

.contact-map-container-full .contact-map-header {
    padding: 2.5rem 3rem 1.5rem;
}

.contact-map-header-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 8px 24px rgba(196, 30, 58, 0.25);
}

.google-map-wrapper {
    margin: 0;
    padding: 2rem 2.5rem 2.5rem;
    position: relative;
    overflow: hidden;
}

.contact-map-container-full .google-map-wrapper {
    padding: 2rem 3rem 3rem;
}

.google-map-wrapper iframe {
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.google-map-wrapper:hover iframe {
    transform: scale(1.02);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.map-overlay {
    position: absolute;
    top: 2rem;
    left: 2.5rem;
    right: 2.5rem;
    bottom: 2.5rem;
    pointer-events: none;
    border-radius: 16px;
    box-shadow: inset 0 0 0 2px rgba(196, 30, 58, 0.1);
    z-index: 1;
}

.contact-map-container-full .map-overlay {
    top: 2rem;
    left: 3rem;
    right: 3rem;
    bottom: 3rem;
}

.contact-form .btn {
    width: 100%;
    padding: 1.25rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

.contact-form .btn-primary {
    color: #ffffff !important;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
    box-shadow: 0 8px 24px rgba(196, 30, 58, 0.3) !important;
    position: relative;
    overflow: hidden;
}

.contact-form .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.contact-form .btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%) !important;
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(196, 30, 58, 0.4) !important;
}

.contact-form .btn-primary:hover::before {
    left: 100%;
}

.contact-form .form-group:last-of-type {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-form .form-group:last-of-type button {
    width: auto;
    min-width: 300px;
    max-width: 400px;
    margin: 0 auto;
}

.contact-form .g-recaptcha {
    margin: 1rem 0;
    display: flex;
    justify-content: flex-start;
}

@media (max-width: 1024px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-right {
        position: static;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-map-container-full .contact-map-header {
        padding: 2rem 2rem 1.5rem;
    }
    
    .contact-map-container-full .google-map-wrapper {
        padding: 2rem 2rem 2.5rem;
    }
    
    .contact-map-container-full .map-overlay {
        left: 2rem;
        right: 2rem;
        bottom: 2.5rem;
    }
}

@media (max-width: 768px) {
    .contact-left,
    .contact-info-container,
    .contact-map-container {
        padding: 2rem;
    }
    
    .contact-form .g-recaptcha {
        transform: scale(0.85);
        transform-origin: 0 0;
    }
    
    .contact-page-title {
        font-size: 2rem;
    }
    
    .contact-form-container h2,
    .contact-info-container h2,
    .contact-map-container h2 {
        font-size: 1.5rem;
    }
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-red);
}

.btn-secondary {
    background: var(--accent);
    color: #fff;
}

.btn-secondary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
}

/* Hamburger menu dla tabletów i mniejszych */
@media (max-width: 1350px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg);
        box-shadow: var(--shadow-lg);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        padding-right: 0;
    }
    
    .main-nav.active {
        max-height: 1000px;
        padding: 2rem 0;
    }
    
    .nav-list {
        flex-direction: column;
        width: 100%;
        gap: 0;
        padding: 0 2rem;
    }
    
    .nav-list li {
        width: 100%;
    }
    
    .nav-link {
        display: block;
        padding: 1rem 0;
        border-bottom: 1px solid var(--border);
    }
}

@media (max-width: 768px) {
    .header-top-bar {
        display: none;
    }
    
    .logo-image {
        height: 45px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* ============================================
   AUTH PAGES - LOGOWANIE, REJESTRACJA
   ============================================ */

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--main) 0%, var(--secondary) 50%, var(--main) 100%);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.auth-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.auth-container {
    width: 100%;
    max-width: 450px;
    position: relative;
    z-index: 1;
}

.auth-box {
    background: var(--bg);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.auth-logo {
    text-align: center;
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.auth-logo-image {
    height: 80px;
    width: auto;
    object-fit: contain;
    max-width: 250px;
}

.auth-form {
    margin-top: 1.5rem;
}

.auth-form h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 1.5rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.auth-form .form-group {
    margin-bottom: 1.5rem;
}

.auth-form .form-group:last-of-type {
    margin-bottom: 0;
}

.auth-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text);
    font-size: 0.95rem;
}

.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="text"],
.auth-form input[type="tel"] {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    transition: all 0.3s;
    font-family: inherit;
    background: var(--bg);
}

.auth-form input[type="email"]:focus,
.auth-form input[type="password"]:focus,
.auth-form input[type="text"]:focus,
.auth-form input[type="tel"]:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(196, 30, 58, 0.1);
}

.auth-form .btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.5rem;
}

.form-links {
    margin-top: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.form-links a {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
}

.form-links a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* ============================================
   COOKIE POPUP - RODO/GDPR
   ============================================ */

.cookie-banner {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(150%);
    max-width: 600px;
    width: calc(100% - 2rem);
    background: var(--bg);
    border: 2px solid var(--primary);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 9998;
    padding: 0;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.cookie-banner.show {
    transform: translateX(-50%) translateY(0);
}

.cookie-banner-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cookie-banner-text {
    flex: 1;
}

.cookie-banner-text h4 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cookie-banner-text p {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.7;
    margin: 0;
}

.cookie-banner-text a {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s;
}

.cookie-banner-text a:hover {
    color: var(--primary-dark);
}

.cookie-banner-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.btn-cookie-accept,
.btn-cookie-reject {
    flex: 1;
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.btn-cookie-accept {
    background: var(--primary);
    color: #fff;
}

.btn-cookie-accept:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196, 30, 58, 0.4);
}

.btn-cookie-reject {
    background: var(--bg-light);
    color: var(--text);
    border: 2px solid var(--border);
}

.btn-cookie-reject:hover {
    background: var(--border);
    border-color: var(--text-light);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .cookie-banner {
        bottom: 1rem;
        width: calc(100% - 1rem);
        max-width: none;
    }
    
    .cookie-banner-content {
        padding: 1.5rem;
        gap: 1.25rem;
    }
    
    .cookie-banner-text h4 {
        font-size: 1.1rem;
    }
    
    .cookie-banner-text p {
        font-size: 0.875rem;
    }
    
    .cookie-banner-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .btn-cookie-accept,
    .btn-cookie-reject {
        width: 100%;
        padding: 1rem;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .b2b-box {
        padding: 3rem 2rem;
    }
    
    .b2b-box h2 {
        font-size: 2rem;
    }
    
    .auth-box {
        padding: 2rem 1.5rem;
    }
    
    .auth-logo {
        font-size: 2rem;
    }
    
    .auth-form h2 {
        font-size: 1.5rem;
    }
    
    .loader-logo-image {
        height: 80px;
        max-width: 200px;
    }
    
    .footer-logo-image {
        height: 29px !important;
        max-height: 29px !important;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cookie-banner {
        padding: 1.25rem 0;
    }
    
    .cookie-banner-content {
        padding: 0 1rem;
    }
    
    .cookie-banner-text h4 {
        font-size: 1rem;
    }
    
    .cookie-banner-text p {
        font-size: 0.875rem;
    }
}

/* ============================================
   WIZUALIZATOR
   ============================================ */

.visualizer-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.visualizer-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
    margin-top: 2rem;
}

.visualizer-materials h3,
.visualizer-form-card h3 {
    margin-bottom: 1rem;
}

.materials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.material-card {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.75rem;
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 1rem;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
}

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

.material-card input {
    display: none;
}

.material-card.selected {
    border: 2px solid var(--primary);
    box-shadow: 0 10px 30px rgba(196, 30, 58, 0.15);
}

.material-thumb {
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-light);
    display: inline-block;
    width: 90px;
    height: 90px;
}

.material-thumb img,
.material-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    background: var(--bg-light);
    display: block;
}

.material-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 0.85rem;
    border: 1px dashed var(--border);
}

.material-info h4 {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
}

.material-info p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.95rem;
}

.visualizer-form-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border);
}

.visualizer-form .form-actions {
    margin-top: 1.5rem;
}

.visualizer-form .help-text {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0.5rem 0 0;
}

.visualizer-status-section {
    padding: 5rem 0;
}

.status-card {
    background: #fff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border);
}

.status-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-weight: 600;
}

.status-card .status-row {
    justify-content: flex-start;
    gap: 0.6rem;
}

.status-row-inline {
    justify-content: flex-start !important;
    align-items: center;
    gap: 0.5rem;
}

.status-row-inline .status-label {
    color: var(--text);
    font-weight: 700;
}

.status-note {
    display: inline-block;
    margin-top: 0.35rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.status-inline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.status-inline .status-label {
    color: #0f172a;
    font-weight: 800;
    font-size: 1.05rem;
}

.status-inline #viz-status {
    background: #e8f4ec;
    color: #0b5f3a;
    font-weight: 800;
    font-size: 1.05rem;
    border-radius: 10px;
    padding: 0.35rem 0.65rem;
}

.badge {
    display: inline-block;
    padding: 0.35rem 0.65rem;
    font-weight: 700;
    border-radius: 10px;
}

.badge-success {
    background: #e8f4ec;
    color: #0b5f3a;
}

.badge-warning {
    background: #fff4e5;
    color: #b45309;
}

.badge-danger {
    background: #fee2e2;
    color: #b91c1c;
}

.share-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.share-label {
    font-weight: 700;
    color: var(--text);
}

.share-btn {
    background: #ffffff;
    color: #0f172a;
    border-radius: 10px;
    padding: 0.35rem 0.55rem;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid #d9deeb;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
}

.share-btn:hover {
    background: #e6ebfa;
    border-color: #c7d0e9;
}

.share-btn:active {
    transform: translateY(1px);
}

.share-ico {
    width: 20px;
    height: 20px;
    display: inline-block;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

.viz-progress-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 1rem;
}

.viz-progress-card {
    background: #fff;
    border-radius: 14px;
    padding: 1.5rem;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 18px 40px rgba(0,0,0,0.16);
    border: 1px solid var(--border);
    text-align: center;
}

.viz-progress-card h3 {
    margin: 0 0 0.35rem;
}

.viz-progress-desc {
    margin: 0 0 1rem;
    color: var(--text-light);
}

.viz-progress-bar {
    width: 100%;
    height: 10px;
    background: #f4f4f4;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.viz-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #c41e3a, #e0526a);
    transition: width 0.25s ease;
}

.viz-progress-text {
    margin-top: 0.6rem;
    font-weight: 700;
    color: var(--text);
}

.progress-wrapper {
    margin: 0.75rem 0 1rem;
    background: #f5f5f5;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.progress-bar {
    height: 10px;
    width: 0%;
    background: linear-gradient(90deg, #c41e3a, #e0526a);
    transition: width 0.25s ease;
}

.progress-text {
    margin-top: 0.35rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.share-ico-fb {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231876f2'%3E%3Cpath d='M22.675 0H1.325C.593 0 0 .593 0 1.325v21.35C0 23.407.593 24 1.325 24H12.82v-9.294H9.692V11.08h3.128V8.414c0-3.1 1.893-4.788 4.66-4.788 1.325 0 2.463.099 2.794.143v3.24h-1.918c-1.504 0-1.796.715-1.796 1.763v2.307h3.587l-.467 3.626h-3.12V24h6.116C23.407 24 24 23.407 24 22.675V1.325C24 .593 23.407 0 22.675 0z'/%3E%3C/svg%3E");
}

.share-ico-x {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 1227'%3E%3Cpath d='M714.163 519.284 1160.89 0H1058.8L667.137 450.887 354.093 0H0l468.304 678.546L0 1226.37h102.09l410.312-479.09 330.902 479.09H1200L714.137 519.284h.026ZM562.966 686.273l-47.575-67.945L138.77 79.694h162.341l309.003 441.555 47.575 67.945 394.647 564.476H889.995L562.966 686.298v-.026Z' fill='%23111'/%3E%3C/svg%3E");
}

.share-ico-ln {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230076b5'%3E%3Cpath d='M20.447 20.452h-3.554v-5.569c0-1.328-.026-3.037-1.852-3.037-1.853 0-2.136 1.447-2.136 2.941v5.665H9.351V9h3.414v1.561h.049c.476-.9 1.637-1.85 3.37-1.85 3.602 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433a2.062 2.062 0 1 1 0-4.125 2.062 2.062 0 0 1 0 4.125zM3.56 20.452h3.553V9H3.56v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.228.792 24 1.771 24h20.451C23.2 24 24 23.228 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z'/%3E%3C/svg%3E");
}

.share-ico-copy {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230f172a'%3E%3Cpath d='M16 1H4a2 2 0 0 0-2 2v13h2V3h12V1Zm3 4H8a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h11a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2Zm0 16H8V7h11v14Z'/%3E%3C/svg%3E");
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.result-card {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.75rem;
    text-align: center;
    background: var(--bg-light);
}

.result-card img {
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    box-shadow: var(--shadow-md);
}

.result-card .download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.55rem 1.15rem;
    margin-top: 0.5rem;
    border-radius: 10px;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.result-card .download-btn:hover {
    background: #a01a2e;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.16);
}

.result-card .download-btn:active {
    transform: translateY(0);
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.loader {
    margin-top: 1rem;
    text-align: center;
}

.spinner {
    width: 36px;
    height: 36px;
    border: 4px solid var(--border);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    margin: 0 auto 0.75rem;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 1024px) {
    .visualizer-grid {
        grid-template-columns: 1fr;
    }
}
