:root {
    --primary-color: #0d4cdb;
    --primary-dark: #0a3aae;
    --secondary-color: #f8f9fc;
    --text-color: #333333;
    --text-light: #666666;
    --border-color: #e0e0e0;
    --white: #ffffff;
    --gradient-purple: linear-gradient(135deg, #a74eff 0%, #764ba2 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Helpers */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.bg-light { background-color: var(--secondary-color); }
.section-padding { padding: 60px 0; }

/* Buttons */
.btn {
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-block {
    display: flex;
    width: 100%;
    justify-content: center;
}

/* Header */
header {
    border-bottom: 1px solid #eee;
    padding: 15px 0;
    position: sticky;
    top: 0;
    background: var(--white);
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 32px;
}

nav ul {
    display: flex;
    gap: 30px;
}

nav a {
    font-weight: 500;
    color: var(--text-color);
    font-size: 0.95rem;
}

nav a i {
    font-size: 0.75rem;
    margin-left: 4px;
    color: var(--text-light);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--text-color);
    cursor: pointer;
    padding: 8px;
}

.icon-btn {
    background: none;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    color: var(--text-color);
}

/* Hero */
.hero {
    padding: 40px 0;
}

.hero-layout {
    display: flex;
    align-items: stretch; /* Ensure columns are equal height */
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 14px;
    font-weight: 700;
}

.hero-content .highlight {
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 1.05rem;
    line-height: 1.5;
    color: var(--text-light);
    margin-bottom: 16px;
}

.hero-list li {
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-light);
    line-height: 1.45;
    font-size: 0.95rem;
}

.hero-list .li-text {
    display: flex;
    flex-direction: column;
}

.hero-list li strong {
    color: var(--text-dark, #1a1a2e);
}

.hero-list .li-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 2px;
}

.hero-list i {
    color: var(--primary-color);
    margin-top: 3px;
    flex-shrink: 0;
}

.hero-buttons {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    background-image: url('../images/ppe-compliance-hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Removed min-height to rely on flex stretch */
}

/* Section Header */
.section-header {
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-light);
}

/* How It Works */
.steps-grid {
    display: flex;
    gap: 30px;
    text-align: center;
}

.step-card {
    flex: 1;
    background: #fdfdfd;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #eee;
    transition: transform 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.step-icon {
    font-size: 3rem;
    color: var(--text-color);
    margin-bottom: 20px;
    background: #eef2ff;
    width: 120px;
    height: 120px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Ensure image stays inside */
}

.step-icon img {
    width: 80%; 
    height: 80%;
    object-fit: contain;
}

.step-card h3 {
    margin-bottom: 10px;
}

.step-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Platform Video */
.video-container {
    position: relative;
    max-width: 900px;
    margin: 30px auto;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
}

.video-container img {
    width: 100%;
    display: block;
}

.play-button, .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    border: 2px solid white;
    transition: all 0.3s;
}

.video-container:hover .play-button {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.text-small {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Starter Kit */
.kit-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.kit-diagram {
    flex: 1;
    max-width: 600px;
}

.kit-pricing-card {
    flex: 1;
    max-width: 600px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.card-header {
    background: var(--gradient-purple);
    color: white;
    padding: 25px;
    text-align: center;
}

.card-header h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.card-header p {
    font-size: 0.85rem;
    opacity: 0.9;
}

.card-body {
    padding: 30px;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    display: flex;
    align-items: flex-start;
    line-height: 1;
    margin-bottom: 10px;
}

.price .currency {
    font-size: 1.2rem;
    margin-top: 5px;
}

.price .unit {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 400;
    align-self: flex-end;
    margin-bottom: 5px;
    margin-left: 5px;
}

.sub-price {
    color: #28a745;
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.badge {
    background: #e6f9ec;
    color: #28a745;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.features-list li {
    margin-bottom: 20px;
    font-size: 0.9rem;
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 20px;
    align-items: start;
}

.features-list i {
    color: #764ba2;
    margin-top: 2px;
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.feature-title {
    display: flex;
    align-items: flex-start;
}

.feature-info {
    color: var(--text-color);
    padding-top: 2px;
}

.show-details {
    display: block;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 0.9rem;
}

/* Scenarios */
.tabs {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    border-bottom: 1px solid transparent; /* Optional: adds a full width line if desired, but not in screenshot */
}

.tab-btn {
    background: none;
    border: none;
    padding: 15px 5px; /* Vertical padding slightly larger, horizontal reduced so border matches text width roughly */
    cursor: pointer;
    font-weight: 500;
    color: var(--text-light);
    border-bottom: 2px solid transparent;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    color: var(--primary-color);
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.scenario-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.scenario-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    transition: all 0.3s;
}

.scenario-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.card-img {
    height: 160px;
    background-color: #f5f3ff; /* Light purple background */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 8px; 
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Scale image to fit like an icon */
    padding: 20px; /* Add padding around the icon */
    transition: transform 0.3s ease;
}

.scenario-card:hover .card-img img {
    transform: scale(1.1);
}

.card-text {
    padding: 20px;
}

.card-text h4 {
    margin-bottom: 8px;
    font-size: 1rem;
}

.card-text p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.4;
}

.card-text a {
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 600;
}

/* Video Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.video-card {
    background: white;
}

.video-card h4,
.video-card p,
.video-card .aplicabilitate-list {
    margin-left: 10px;
}

.video-thumb {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 15px;
    aspect-ratio: 16/9;
}

.video-thumb img {
    width: 100% !important;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-color);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
}

.grid-4-cols {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.aplicabilitate-list {
    list-style: disc;
    padding-left: 20px;
    margin-top: 8px;
}

.aplicabilitate-list li {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 4px;
}

.play-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
}

/* Split Layout Security */
.split-layout {
    display: flex;
    align-items: stretch; /* Ensure equal height */
    gap: 50px;
}

.split-content {
    flex: 1;
}

.split-image {
    flex: 1;
    display: flex; /* Makes child height 100% */
}

.badge-pill {
    background: #eef2ff;
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
}

.feature-item {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #eef2ff;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-text h4 {
    margin-bottom: 5px;
    font-size: 1rem;
}

.feature-text p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background-image: url('../images/privacy-protection.avif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    /* Parent handles height now */
}

.overlay-label {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
}

/* Logos */
.logos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin: 40px 0;
    align-items: center;
}

.logos-grid img {
    height: 30px;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.logos-grid img:hover {
    opacity: 1;
}

.reviews-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.review-badge {
    background: white;
    padding: 15px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* Partners */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    margin-top: 40px;
    align-items: center;
}

.partners-grid img {
    max-height: 40px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .header-container {
        flex-wrap: wrap;
        gap: 12px;
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
    }

    .site-nav {
        width: 100%;
        display: none;
    }

    .site-nav.open {
        display: block;
    }

    .site-nav ul {
        width: 100%;
        gap: 10px;
        justify-content: flex-start;
        flex-direction: column;
        padding: 12px 0 6px;
        border-top: 1px solid #eee;
    }

    .site-nav a {
        display: block;
        padding: 8px 0;
    }

    .header-actions {
        width: 100%;
        justify-content: flex-start;
        display: none;
    }

    .header-actions .btn {
        width: 100%;
        max-width: none;
        justify-content: center;
    }
    
    .hero-layout, .kit-content, .split-layout {
        flex-direction: column;
    }

    .hero-content,
    .split-content {
        text-align: left;
    }

    .hero-list li {
        justify-content: flex-start;
    }

    .hero-buttons {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .hero-image,
    .split-image,
    .image-wrapper {
        min-height: 260px;
    }

    .steps-grid {
        flex-direction: column;
    }

    .scenario-grid, .video-grid, .grid-4-cols {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0px 50px;
    }

    header,
    section,
    footer {
        padding-left: 20px;
        padding-right: 20px;
    }

    .section-padding {
        padding: 48px 0;
    }

    .hero {
        padding: 28px 0;
    }

    .hero-content h1 {
        font-size: 1.75rem;
        line-height: 1.25;
    }

    .section-header {
        margin-bottom: 32px;
    }

    .section-header h2 {
        font-size: 1.55rem;
    }

    .tabs {
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 14px;
        margin-bottom: 24px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 6px;
    }

    .tab-btn {
        white-space: nowrap;
        padding: 10px 2px;
        font-size: 0.95rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .feature-item {
        margin-top: 20px;
    }
}

@media (max-width: 600px) {
    .site-nav ul {
        display: flex;
        grid-template-columns: none;
        gap: 8px;
    }

    .scenario-grid, .video-grid, .grid-4-cols, .partners-grid {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.98rem;
    }

    .hero-list .li-desc {
        font-size: 0.88rem;
    }
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    /* Removed margin-top */
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo img {
    height: 24px;
    margin-bottom: 10px;
}

.footer-logo p {
    font-size: 0.85rem;
    color: var(--text-light);
}

.footer-links ul {
    display: flex;
    gap: 20px;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-color);
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    color: var(--text-light);
    font-size: 1.2rem;
    transition: color 0.3s;
}

.footer-social a:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links ul {
        flex-direction: column;
        gap: 10px;
    }
}

/* Contact Form New Design */
.contact-form {
    text-align: left;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 0.95rem;
}

.form-group label span.required {
    color: #d32f2f;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    box-sizing: border-box;
    transition: all 0.3s;
    background-color: #fff;
    color: #333;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(13, 76, 219, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9ca3af;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23666' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-group {
        margin-bottom: 20px;
    }

    #contact form button[type="submit"] {
        width: 100%;
        justify-content: center;
    }
}

