@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap');

body {
    zoom: 0.75;
    font-family: var(--font-main);
    color: var(--text-main);
}

:root {
    --primary-color: #285b4b;
    --primary-color-hover: #214b3d;
    --dark-bg: #121212;
    --light-bg: #ffffff;
    --text-main: #333333;
    --text-light: #f5f5f5;
    --border-color: #e5e5e5;
    --font-main: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-main);
    color: var(--text-main);
    background-color: var(--light-bg);
    line-height: 1.6;
}

.logo img {
    height: 80px; 
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background-color: #fff; 
    border-bottom: 1px solid #eee;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-links {
    display: flex;
    gap: 30px; 
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #444;
    font-weight: 500;
    font-size: 1.2rem; 
    padding: 10px 10px;  
    position: relative; 
    transition: color 0.3s ease;
}

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

.nav-links a:not(.btn-contact):hover {
    color: var(--primary-color);
}

.nav-links a:not(.btn-contact):hover::after {
    width: 100%; 
}

.btn-contact {
    background-color: var(--primary-color);
    color: white !important;
    padding: 20px 35px;     
    border-radius: 4px;      
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;   
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2); 
    display: inline-block;
}

.btn-contact:hover {
    background-color: var(--primary-color-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

.btn-contact:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(40, 91, 75, 0.3);
}

.hero {
    background-image: 
        linear-gradient(to right, rgba(18,18,18, 1) 20%, rgba(18,18,18, 0.6)),
        url('../images/hero-bg.jpg'); 
    background-size: cover;     
    background-position: center;
    background-repeat: no-repeat;
    color: var(--text-light);
    padding: 80px 5%;
    display: flex;
    align-items: center;
    min-height: 60vh;
}

.hero-content {
    max-width: 600px;
}

.hero h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 1.1rem;
    color: #aaa;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: var(--primary-color-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

.btn-secondary {
    border: 1px solid #555;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 4px;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

.features-section {
    padding: 60px 5%;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 8px;
    transition: transform 0.2s;
}

.feature-icon i {
    color: var(--primary-color); 
    font-size: 2rem;           
    transition: color 0.3s ease; 
}

/* .feature-card:hover .feature-icon i {
    color: var(--primary-color-hover);
    transform: scale(1.1);
    transition: all 0.3s ease;
} */

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-block;
    margin-top: 15px;
}

.site-footer {
    background-color: #fff;
    padding: 60px 5% 20px;
    border-top: 1px solid #eee;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    margin-bottom: 20px;
    color: #111;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    text-decoration: none;
    color: #666;
}

.footer-bottom {
    text-align: center;
    color: #888;
    border-top: 1px solid #eee;
    padding-top: 20px;
    font-size: 0.8rem;
}

.status-bar-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 30px 5%;
    background: #fafafa;
    border-bottom: 1px solid #eee;
    flex-wrap: wrap; 
}

.status-pill {
    background: white;
    padding: 10px 20px;
    border-radius: 50px; 
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05); 
    border: 1px solid transparent; 
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: default;
    min-width: 180px;
}

.pill-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.pill-text strong {
    font-size: 1.1rem;
    color: #333;
}

.pill-text small {
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-pill.legacy {
    opacity: 0.7;
    background: #f4f4f4;
}

.status-pill.legacy small { 
    color: #aaa; 
}

.status-pill.standard {
    border-color: #e0e0e0;
}

.status-pill.highlight {
    border-color: var(--primary-color); 
    background: rgba(40, 91, 75, 0.05); 
}

.status-pill.highlight strong {
    color: var(--primary-color);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: block;
}

.dot.gray { background-color: #ccc; }
.dot.blue { background-color: #64748b; }
.dot.green-pulse {
    background-color: var(--primary-color);
    box-shadow: 0 0 0 0 rgba(40, 91, 75, 0.7);
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(40, 91, 75, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(40, 91, 75, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(40, 91, 75, 0);
    }
}

.alert-box {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
    padding: 15px;
    border-radius: 4px;
    margin: 30px 5% 0;
    text-align: center;
    font-weight: 500;
}

.feature-card.retired {
    opacity: 0.7; 
    background-color: #fafafa;
    border-style: dashed; 
}

.feature-card.retired h3 {
    color: #666;
}

.feature-card.retired .feature-icon {
    filter: grayscale(100%); 
    opacity: 0.5;
}

.section-title {
    padding: 0 0%;
    margin-top: 10px;
    font-size: 1.5rem;
    color: #333;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.compact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); 
    gap: 20px; 
    margin-top: 30px;
}

.compact-grid .feature-card {
    padding: 20px; 
}

.compact-grid .feature-icon i {
    font-size: 2rem; 
    display: block;
    margin-bottom: 10px;
    color: var(--primary-color);
}


.compact-grid .feature-icon i {
    color: var(--primary-color);
}

.compact-grid .feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0px;
}

.compact-grid .read-more {
    font-size: 0.8rem;
    margin-top: 10px;
}

.compact-grid .feature-card p {
    font-family: monospace; 
    background: rgba(40, 91, 75, 0.05); 
    padding: 5px;
    border-radius: 3px;
    font-size: 0.85rem;
}

.compact-grid .read-more {
    font-size: 0.8rem;
    margin-top: 10px;
}

.members-hero {
    position: relative;
    background-image: 
        linear-gradient(to right, rgba(18,18,18, 0.9) 30%, rgba(18,18,18, 0.5)),
        url('../images/members.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--text-light); 
    padding: 60px 5%;        
    display: flex;
    align-items: center;
    min-height: 35vh;        
    border-bottom: 1px solid #333; 
}

.contact-hero {
    position: relative;
    background-image: 
        linear-gradient(to right, rgba(18,18,18, 0.9) 30%, rgba(18,18,18, 0.5)),
        url('../images/contact.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--text-light); 
    padding: 60px 5%;        
    display: flex;
    align-items: center;
    min-height: 35vh;        
    border-bottom: 1px solid #333; 
}

.legal-hero {
    position: relative;
    background-image: 
        linear-gradient(to right, rgba(18,18,18, 0.9) 30%, rgba(18,18,18, 0.5)),
        url('../images/legal.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--text-light); 
    padding: 60px 5%;        
    display: flex;
    align-items: center;
    min-height: 35vh;        
    border-bottom: 1px solid #333; 
}

.links-hero {
    position: relative;
    background-image: 
        linear-gradient(to right, rgba(18,18,18, 0.9) 30%, rgba(18,18,18, 0.5)),
        url('../images/links.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--text-light); 
    padding: 60px 5%;        
    display: flex;
    align-items: center;
    min-height: 35vh;        
    border-bottom: 1px solid #333; 
}

.faq-hero {
    position: relative;
    background-image: 
        linear-gradient(to right, rgba(18,18,18, 0.9) 30%, rgba(18,18,18, 0.5)),
        url('../images/faq.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--text-light); 
    padding: 60px 5%;        
    display: flex;
    align-items: center;
    min-height: 35vh;        
    border-bottom: 1px solid #333; 
}

.mvi-hero {
    position: relative;
    background-image: 
        linear-gradient(to right, rgba(18,18,18, 0.9) 30%, rgba(18,18,18, 0.5)),
        url('../images/mvi.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--text-light); 
    padding: 60px 5%;        
    display: flex;
    align-items: center;
    min-height: 35vh;        
    border-bottom: 1px solid #333; 
}

.scope-hero {
    position: relative;
    background-image: 
        linear-gradient(to right, rgba(18,18,18, 0.9) 30%, rgba(18,18,18, 0.5)),
        url('../images/scope.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--text-light); 
    padding: 60px 5%;        
    display: flex;
    align-items: center;
    min-height: 35vh;        
    border-bottom: 1px solid #333; 
}

.iot-hero {
    position: relative;
    background-image: 
        linear-gradient(to right, rgba(18,18,18, 0.9) 30%, rgba(18,18,18, 0.5)),
        url('../images/iot.jpg');
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    color: var(--text-light); 
    padding: 60px 5%;        
    display: flex;
    align-items: center;
    min-height: 35vh;        
    border-bottom: 1px solid #333; 
}

.about-hero {
    position: relative;
    background-image: 
        linear-gradient(to right, rgba(18,18,18, 0.9) 30%, rgba(18,18,18, 0.5)),
        url('../images/about.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--text-light); 
    padding: 60px 5%;        
    display: flex;
    align-items: center;
    min-height: 35vh;        
    border-bottom: 1px solid #333; 
}

.members-alert-inline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 235, 59, 0.15); 
    color: #fff9c4;                      
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 0.9rem;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 235, 59, 0.3);
    backdrop-filter: blur(5px); 
}

.members-alert-inline strong {
    color: #fff; 
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.process-diagram-container {
    text-align: center;
    margin: 40px 0;
    padding: 20px;
    background: #fafafa;
    border-radius: 8px;
    border: 1px solid #eee;
}

.process-diagram-container img {
    max-width: 30%;
    height: auto;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border-radius: 4px;
}

html {
    scroll-behavior: smooth;
}

.anchor-offset {
    scroll-margin-top: 120px;
}

a.status-pill {
    text-decoration: none;
    transition: all 0.3s ease;
}

.compact-grid .feature-card p {
    font-family: monospace; 
    background: rgba(40, 91, 75, 0.05); 
    padding: 5px;
    border-radius: 3px;
    font-size: 0.85rem;
}

.feature-card.highlight-card {
    border: 2px solid var(--primary-color); 
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--border-color);
    top: 0; bottom: 0; left: 20px;
}

.timeline-item {
    margin-bottom: 30px;
    position: relative;
    padding-left: 60px;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background: white;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    left: 11px;
    top: 5px;
    z-index: 1;
}

.timeline-date {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 5px;
    text-decoration: underline;
}

.timeline-content {
    color: var(--text-main);
    line-height: 1.5;
}

.members-table-container {
    overflow-x: auto;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.members-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.members-table th, .members-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.members-table th {
    background-color: #fafafa;
    color: #111;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.members-table tr:last-child td {
    border-bottom: none;
}

.members-table td a {
    color: var(--primary-color);
    text-decoration: none;
}

.members-table tr:hover {
    background-color: rgba(40, 91, 75, 0.02);
}

.styled-list {
    list-style: none;
    margin-top: 15px;
}

.styled-list li {
    padding-left: 20px;
    position: relative;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.styled-list li::before {
    content: '·';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.5rem;
    line-height: 1;
}

/* --- IOT PROCESS SECTION --- */

.full-width-process-container {
    display: flex;
    width: 100%;
    gap: 30px;
    padding: 0 20px;
    box-sizing: border-box;
}

.process-image-side {
    flex: 0 0 40%;
    display: flex;
    align-items: flex-start;
}

.image-box {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #eee;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    width: 100%;
    position: relative;
}

.image-box img {
    width: 100%;
    height: 100%;
    display: block;
}

.process-steps-side {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 20px;
}

.step-card {
    background: white;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    height: 100%;
}

.step-01 {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}

.step-02 {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
}

.step-03 {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
}

.step-04 {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.step-05 {
    grid-column: 2 / 3;
    grid-row: 2 / 4;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.step-number {
    font-family: var(--font-main);
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: block;
}

.highlight-step {
    background-color: #f0fdf4;
    border-color: #dcfce7;
}

.step-card h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
    color: #111;
}

.step-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

.read-more {
    margin-top: 15px;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.85rem;
}

@media (max-width: 1200px) {
    .full-width-process-container { flex-direction: column; }
    .process-image-side { flex: none; width: 100%; margin-bottom: 30px; }
    .process-steps-side { grid-template-columns: 1fr; grid-template-rows: auto; }
    .image-box { position: static; }
    .step-01, .step-02, .step-03, .step-04, .step-05 { grid-column: auto; grid-row: auto; }
}
.feature-card {
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 8px;
    transition: transform 0.2s;
    display: flex;
    flex-direction: column;
    height: 100%; 
}

.feature-card .read-more {
    margin-top: auto; 
    
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-block;
    padding-top: 15px; 
}
.feature-card {
    position: relative;
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s ease; 
    background-color: #fff;
    cursor: pointer;
}

.feature-card .read-more::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
}

.feature-card .read-more {
    margin-top: auto;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    padding-top: 15px;
    transition: color 0.3s ease;
}

.feature-card:hover .read-more {
    color: var(--primary-color-hover);
}


.contact-hero {
    position: relative;
    background-image: 
        linear-gradient(to right, rgba(18,18,18, 0.9) 30%, rgba(18,18,18, 0.5)),
        url('../images/contact-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--text-light); 
    padding: 60px 5%;                
    display: flex;
    align-items: center;
    min-height: 35vh;                
    border-bottom: 1px solid #333; 
}

.hero-category {
    color: white; 
    font-weight: bold; 
    letter-spacing: 1px; 
    font-size: 0.9rem; 
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.contact-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    align-items: center;
    padding: 40px 30px;
}

.contact-card p {
    margin-bottom: 25px;
    min-height: 50px;
}

.contact-action-btn {
    width: 100%;
    text-align: center;
    display: block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* FAQ Specific Additions */

.faq-question-block {
    margin-bottom: 50px;
}

.membership-type-title {
    display: block;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 25px;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.highlight-text {
    font-weight: 600;
}

.application-box {
    margin-top: 15px;
}

.download-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.download-link:hover {
    text-decoration: underline;
}

.internal-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.content-spacing {
    margin-top: 15px;
}

/* Dostosowanie list dla lepszej czytelności w FAQ */
.styled-list li {
    line-height: 1.5;
    color: #444;
}
/* FAQ Card System */

.faq-card-wrapper {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

/* Side-by-side comparison */
.membership-comparison-container {
    display: flex;
    gap: 20px;
    margin-top: 25px;
}

.membership-box {
    flex: 1;
    background: #fafafa;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    transition: border-color 0.3s ease;
}

.membership-type-title {
    display: block;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.membership-subtitle {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 15px;
    font-style: italic;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .membership-comparison-container {
        flex-direction: column;
    }
}

/* Helper classes */
.highlight-text {
    font-weight: 600;
}

.content-spacing {
    margin-top: 15px;
}

.download-link {
    color: var(--primary-color);
    font-weight: 600;
}
/* --- Work Group 1 Specific Styles --- */

.auth-container-block {
    background: #fafafa;
    border: 1px dashed var(--border-color);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}

.auth-form-styled p {
    margin-bottom: 15px;
    font-weight: 500;
    color: #666;
}

.auth-form-styled .btn-primary {
    border: none;
    cursor: pointer;
    font-family: var(--font-main);
    padding: 14px 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.form-action-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

/* Adjusting the rotation table for mobile view */
@media (max-width: 600px) {
    .members-table th, .members-table td {
        padding: 10px;
        font-size: 0.85rem;
    }
}
