/* HejBit New Design CSS */
/* Prevent horizontal scrolling globally */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

/* Ensure proper box sizing */
*, *::before, *::after {
    box-sizing: border-box;
}

/* Unified HejBit Button Styling */
.hejbit-button {
    display: inline-block;
    padding: 16px 38px;
    border: 2px solid var(--mp-hejbit-yellow);
    border-radius: 12px;
    color: white;
    background: transparent;
    font-weight: 700;
    font-size: var(--font-size-lg);
    letter-spacing: 0.01em;
    text-decoration: none;
    transition: all 0.3s ease;
    outline: none;
    text-align: center;
    cursor: pointer;
    text-transform: uppercase;
}

.hejbit-button:hover, .hejbit-button:focus {
    background: var(--mp-hejbit-yellow);
    color: var(--mp-grey-800);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,216,0,0.3);
}

/* Plan card specific styling - full width and margin-top auto */
.plan-card .hejbit-button {
    width: 100%;
    margin-top: auto;
}

/* Contact form specific styling - center the button */
.contact-form .hejbit-button {
    margin: 0 auto;
}

/* Shared Toast Notification Styles */
.toast {
    visibility: hidden;
    min-width: 250px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    padding: 16px;
    position: fixed;
    z-index: 1000;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    font-size: 17px;
}

.toast.show {
    visibility: visible;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

.toast.success {
    background-color: #4CAF50;
}

.toast.error {
    background-color: #f44336;
}

@keyframes fadein {
    from { bottom: 0; opacity: 0; }
    to { bottom: 30px; opacity: 1; }
}

@keyframes fadeout {
    from { bottom: 30px; opacity: 1; }
    to { bottom: 0; opacity: 0; }
}

/* Shared Contact Form Styles */
.contact-form textarea {
    width: 100%;
    padding: 16px 24px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 12px;
    background: rgba(255,255,255,0.1);
    color: var(--mp-color-white);
    font-family: var(--font-family-primary);
    font-size: var(--font-size-lg);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    resize: vertical;
    min-height: 120px;
}

.contact-form textarea::placeholder {
    color: rgba(255,255,255,0.7);
}

.contact-form textarea:focus {
    outline: none;
    border-color: var(--mp-hejbit-yellow);
    box-shadow: 0 0 0 3px rgba(255,225,0,0.3);
}

/* Cloudflare Turnstile styling */
.cf-turnstile {
    margin: 16px 0;
    display: flex;
    justify-content: center;
}

section {
    margin-top: 0;
}

b {
    color: var(--mp-hejbit-yellow);
}

/* Global Page Background */
.hejbit-body {
    background-color: var(--mp-hejbit-bg-dark) !important;
}

.page-hejbit .mp-footer {
    background: var(--mp-hejbit-bg-dark) !important;
    color: var(--mp-color-white) !important;
}
.page-hejbit .mp-footer hr {
    border-color: var(--mp-hejbit-yellow) !important;
    border-width: 2px;
    max-width: 80%;
    margin-top: 40px;
    margin-bottom: 48px;
}

.page-hejbit .mp-footer-title,
.page-hejbit .mp-footer-nav a,
.page-hejbit .mp-footer-text {
    color: var(--mp-color-white) !important;
}
.page-hejbit .mp-footer-social-icon {
    filter: none !important;
    color: var(--mp-color-white) !important;
    fill: var(--mp-color-white) !important;
}
.page-hejbit .mp-footer-socials a:hover .mp-footer-social-icon {
    filter: brightness(1.2) !important;
    color: var(--mp-hejbit-yellow) !important;
    fill: var(--mp-hejbit-yellow) !important;
}

/* Hero Section */
.hejbit-hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
}

.hejbit-sub-heading {
    color: var(--mp-color-white);
    font-size: var(--font-size-h3);
    text-align: left;
    margin-left: auto;
    margin-right: auto;
}

.hejbit-hero-section video {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hejbit-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(12, 22, 47, 0.6);
    z-index: 1;
}

.hero-background {
    position: relative;
    z-index: 2;
    padding: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Navigation */
.hejbit-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 80px;
    position: relative;
    padding: 0 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.metaprovide-logo {
    height: 28px;
    width: auto;
}

.hejbit-nav-menu {
    display: none;
    gap: 40px;
}

.hejbit-nav-menu a {
    color: var(--mp-color-white);
    text-decoration: none;
    font-size: var(--font-size-md);
    font-weight: 500;
    transition: color 0.3s ease;
}

.hejbit-nav-menu a:hover {
    color: var(--mp-hejbit-yellow);
}

.nav-socials {
    display: flex;
    gap: 12px;
}

.nav-socials a {
    color: var(--mp-color-white);
    font-size: 20px;
    transition: color 0.3s ease;
}

.nav-socials a:hover {
    color: var(--mp-hejbit-yellow);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1000;
    position: relative;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 3px;
    background: var(--mp-color-white);
    margin: 5px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Desktop Navigation */
@media (min-width: 601px) {
  .hejbit-nav {
    margin-bottom: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
  }

  .nav-brand {
    flex: 0 0 auto;
    justify-content: flex-start;
  }

  .metaprovide-logo {
    height: 40px;
  }

  .hejbit-nav-menu {
    display: flex;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: none;
    flex-direction: row;
    width: auto;
    height: auto;
    backdrop-filter: none;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 40px;
  }

  .hejbit-nav-menu a {
    font-size: var(--font-size-md);
    margin: 0;
    font-family: 'Avenir', sans-serif;
    letter-spacing: normal;
  }

  .nav-socials {
    flex: 0 0 auto;
  }

  .hamburger {
    display: none;
  }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    height: auto;
    max-width: 100%;
    padding: 60px 0;
    text-align: center;
}

.hero-title-container {
    height: auto;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.hejbit-cubes {
    display: flex;
    gap: 16px;
}

.cube {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--mp-grey-800), var(--mp-grey-600));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--icon-size-lg);
    font-weight: bold;
    color: var(--mp-color-white);
    transform: perspective(100px) rotateX(15deg) rotateY(15deg);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.yellow-cube {
    background: linear-gradient(45deg, var(--mp-hejbit-yellow), var(--mp-hejbit-light-yellow));
    color: var(--mp-grey-800);
}

.blue-cube {
    background: linear-gradient(45deg, var(--mp-hejbit-blue), var(--mp-hejbit-accent-blue));
    color: var(--mp-color-white);
}

.hero-title {
    font-size: var(--font-size-hero);
    font-weight: 900;
    color: var(--mp-color-white);
    margin: 0;
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: var(--font-size-h3);
    color: var(--mp-color-white);
    margin-bottom: 60px;
    font-weight: 400;
}

.hero-video-container {
    margin-bottom: 60px;
}

.hejbit-logo {
    height: 140px;
    width: auto;
    max-width: 80%;
    margin-bottom: 40px;
}

.hero-sub-content {
    margin-top: 64px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-below-buttons {
    color: var(--mp-color-white);
    font-size: var(--font-size-lg);
    margin-top: 32px;
    text-align: left;
    line-height: 1.8;
    margin-left: auto;
    margin-right: auto;
}

/* Hero CTA Buttons */
.hero-cta-buttons {
    display: flex;
    gap: 32px;
    justify-content: center;
    margin-top: 32px;
}
.cta-button {
    display: inline-block;
    padding: 16px 38px;
    border: 2px solid var(--mp-hejbit-yellow, #ffe100);
    border-radius: 12px;
    color: var(--mp-hejbit-yellow, #ffe100);
    background: transparent;
    font-weight: 700;
    font-size: var(--font-size-lg);
    letter-spacing: 0.01em;
    text-decoration: none;
    transition: all 0.3s ease;
    outline: none;
    text-align: center;
}
.cta-button:hover, .cta-button:focus {
    background: var(--mp-hejbit-yellow);
    color: var(--mp-grey-800);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,216,0,0.3);
}
@media (max-width: 600px) {
    /* Prevent horizontal overflow globally */
    body {
        overflow-x: hidden;
    }

    .hejbit-nav {
       margin: 0 auto;
    }

    .hejbit-hero-section {
        height: auto;
        min-height: 100vh;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .hero-background {
        padding: 16px;
        max-width: none;
        width: 100%;
        box-sizing: border-box;
    }

    .hero-content {
        padding: 40px 0;
    }

    .hejbit-logo {
        height: 100px;
        margin-bottom: 24px;
    }

    .hero-subtitle {
        font-size: var(--font-size-h2);
        margin-bottom: 40px;
    }

    .hero-cta-buttons {
        flex-direction: column;
        gap: 16px;
        margin-top: 18px;
    }

    .cta-button {
        font-size: var(--font-size-base);
        padding: 12px 0;
        width: 100%;
        min-width: 0;
    }

    .hero-sub-content {
        margin-top: 40px;
        max-width: 100%;
        padding: 0 16px;
    }

    .hejbit-sub-heading {
        font-size: var(--font-size-h4);
        margin-bottom: 16px;
    }

    .hero-below-buttons {
        font-size: var(--font-size-md);
        line-height: 1.6;
        margin-top: 16px;
    }

    /* How does HejBit Work Section Mobile */
    .how-it-works-section {
        width: 100%;
        margin: 0;
        padding: 20px 0;
        box-sizing: border-box;
    }

    .hejbit-in-action-img {
        width: 100%;
        max-width: 100%;
        height: auto;
        display: block;
        margin-top: 64px;
        margin-bottom: -32px;
    }

    /* Features Section Mobile */
    .features-section {
        padding: 20px 16px 0 16px;
    }

    .feature-card {
        flex-direction: column;
        text-align: left;
        gap: 24px;
        margin-bottom: 40px;
        padding: 24px;
    }

    .feature-content {
        text-wrap: balance;
    }

    .icon-container {
        width: 100px;
        height: 100px;
    }

    .feature-content h3 {
        font-size: var(--font-size-h5);
        margin-bottom: 12px;
    }

    .feature-content p {
        font-size: var(--font-size-sm);
        line-height: 1.5;
    }

    /* License Plans Section Mobile */
    .license-plans-section {
        padding: 60px 16px;
        width: 100%;
        margin: 0;
        box-sizing: border-box;
    }

    .license-plans-section .section-title {
        font-size: var(--font-size-h3);
        margin-bottom: 40px;
        text-align: center;
    }

    .plans-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 400px;
        margin: 0 auto;
    }

    .plan-card {
        min-height: 500px;
        border-radius: 16px;
        border-width: 2px;
    }

    .plan-content {
        padding: 24px;
    }

    .plan-header .plan-icon {
        margin-top: 24px;
        margin-bottom: 24px;
        font-size: 96px;
    }

    .plan-header h3 {
        font-size: var(--font-size-h4);
    }

    .plan-header h4 {
        font-size: var(--font-size-h5);
    }

    .plan-price {
        font-size: var(--font-size-h4);
    }

    .plan-benefits p {
        font-size: var(--font-size-sm);
        line-height: 1.4;
    }

    .plan-features h5 {
        font-size: var(--font-size-base);
    }

    .plan-features ul li {
        font-size: var(--font-size-sm);
        line-height: 1.4;
    }

    .plan-cta {
        font-size: var(--font-size-base);
        padding: 12px 24px;
    }

    /* Product Features Table Mobile */
    .product-features-section {
        padding: 60px 16px;
    }

    .features-title {
        font-size: var(--font-size-h3);
        margin-bottom: 32px;
        text-align: center;
    }

    .features-table-wrapper {
        max-width: 90%;
        margin: 0 auto;
    }

    .features-table {
        display: table;
        width: 100%;
    }

    .features-table tr {
        display: table-row;
    }

    .features-table td {
        display: table-cell;
        padding: 12px;
        border-bottom: 1px solid var(--mp-hejbit-yellow);
        border-right: 1px solid var(--mp-hejbit-yellow);
        font-size: var(--font-size-s);
        line-height: 1.3;
        vertical-align: middle;
        word-wrap: break-word;
        hyphens: auto;
    }

    .features-table tr td:first-child {
        font-weight: 700;
        width: 35%;
        vertical-align: middle;
    }

    .features-table tr td:last-child {
        border-right: none;
        width: 65%;
    }

    .features-table tr:first-child td {
        border-top: 1px solid var(--mp-hejbit-yellow);
    }

    .features-table tr:last-child td {
        border-bottom: 1px solid var(--mp-hejbit-yellow);
    }

    /* Testimonials Section Mobile */
    .testimonials-section {
        padding: 60px 16px 40px 16px;
    }

    .testimonials-title {
        font-size: var(--font-size-h3);
        margin-bottom: 32px;
    }

    .testimonials-cards {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }

    .testimonial-card {
        width: 100%;
        max-width: 350px;
        padding: 32px 24px;
        min-height: 400px;
        border-radius: 16px;
        margin: 0 auto;
        box-sizing: border-box;
    }

    .testimonial-img {
        width: 80px;
        margin-bottom: 16px;
    }

    .testimonial-name {
        font-size: var(--font-size-base);
        margin-bottom: 8px;
    }

    .testimonial-title {
        font-size: var(--font-size-sm);
        margin-bottom: 16px;
        line-height: 1.4;
    }

    .testimonial-text {
        font-size: var(--font-size-sm);
        line-height: 1.5;
        margin-top: 8px;
    }

    /* Team Section Mobile */
    .team-images-wrapper {
        width: 100%;
        height: 300px;
        margin-top: 20px;
        margin-bottom: 40px;
    }

    .team-main-img {
        width: 300px;
        max-width: 90%;

    }

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

/* What is Section */
.what-is-section {
    background: rgba(255,255,255,0.05);
    padding: 80px 40px;
    margin-top: 80px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.what-is-section .section-title {
    font-size: var(--font-size-h2);
    color: var(--mp-color-white);
    text-align: center;
    margin-bottom: 32px;
    font-weight: 700;
}

.what-is-section .section-description {
    font-size: var(--font-size-lg);
    line-height: 1.6;
    color: var(--mp-color-white);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.highlight {
    color: var(--mp-hejbit-yellow);
    font-weight: 700;
}

/* How it Works Section */
.how-it-works-section {
    padding: 20px 40px;
    background: var(--mp-hejbit-bg-dark);
    margin-top: 80px;
}





.workflow-step-image {
    width: 80px;
    height: 80px;
    margin: 8px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(255,216,0,0.2));
}

.workflow-step-image:hover {
    opacity: 1;
    transform: scale(1.1);
}

.workflow-step h4 {
    font-size: var(--font-size-h4);
    color: var(--mp-color-white);
    margin-bottom: 16px;
    font-weight: 700;
}

.workflow-step p {
    font-size: var(--font-size-md);
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
    margin-bottom: 32px;
}

.device-mockup {
    width: 300px;
    height: 200px;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255,255,255,0.2);
    font-size: var(--font-size-md);
    color: rgba(255,255,255,0.7);
}

.workflow-arrow {
    font-size: var(--icon-size-lg);
    color: var(--mp-hejbit-yellow);
    font-weight: bold;
}

.storage-comparison {
    display: flex;
    justify-content: space-around;
    margin-top: 60px;
}

.storage-type h4 {
    font-size: var(--font-size-lg);
    color: var(--mp-color-white);
    text-align: center;
    font-weight: 600;
}

/* Features Section */

.feature-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
    overflow: visible;
}

.features-section {
    padding: 80px 40px 0 40px;
    background: var(--mp-hejbit-bg-dark);
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
    padding: 40px;
    background: rgba(255,255,255,0.05);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}

.feature-icon {
    flex-shrink: 0;
}

.icon-container {
    width: 150px;
    height: 150px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--icon-size-lg);
    color: var(--mp-grey-800);
}

.icon-container img {
    width: 70%;
    height: 70%;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.yellow-bg {
    background: var(--mp-hejbit-yellow);
}

.feature-content h3 {
    font-size: var(--font-size-h4);
    color: var(--mp-color-white);
    margin-bottom: 16px;
    font-weight: 700;
}

.feature-content p {
    font-size: var(--font-size-md);
    color: rgba(255,255,255,0.9);
    line-height: 1.6;
    margin-bottom: 12px;
    word-break: break-word;
    overflow-wrap: anywhere;
    white-space: normal;
    max-width: 100%;
}

.feature-content strong {
    color: var(--mp-hejbit-yellow);
}

/* License Plans Section */
.license-plans-section {
    padding: 120px 40px;
    background: var(--mp-hejbit-bg-dark);
    width: 100%;
    margin: 0 auto;
    max-width: 1200px;
}

.license-plans-section .section-title {
    font-size: var(--font-size-h2);
    color: var(--mp-color-white);
    margin-bottom: 80px;
    font-weight: 700;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    width: 100%;
    margin: 0 auto;
}

#plans-vanta-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
    border-radius: 20px;
    overflow: hidden;
    pointer-events: none;
}
.plans-grid {
    position: relative;
    z-index: 2;
}
.plan-card {
    background: transparent;
}

.plan-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: var(--mp-hejbit-yellow) solid 1.5px;
    transition: all 0.3s ease;
    min-height: 600px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    min-width: 0;
}


/* Video Background */
.plan-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.plan-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(12, 22, 47, 0.85) 0%, rgba(12, 22, 47, 0.7) 100%);
    z-index: 2;
}

.plan-content {
    position: relative;
    z-index: 3;
    padding: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.popular-badge {
    position: absolute;
    top: -16px;
    right: 24px;
    background: var(--mp-hejbit-yellow);
    color: var(--mp-grey-800);
    padding: 12px 20px;
    border-radius: 25px;
    font-size: var(--font-size-lg);
    font-weight: 700;
    text-align: center;
    line-height: 1;
    z-index: 4;
    box-shadow: 0 4px 15px rgba(255,216,0,0.3);
}

.popular-badge span {
    display: block;
    font-size: var(--font-size-base);
}

.plan-header {
    text-align: center;
    margin-bottom: 32px;
}

.plan-icon {
    font-size: var(--icon-size-lg);
    color: var(--mp-hejbit-yellow);
    margin-bottom: 20px;
    text-shadow: 0 2px 8px rgba(255,216,0,0.3);
}

.plan-header h3 {
    font-size: var(--font-size-h4);
    color: var(--mp-color-white);
    margin-bottom: 8px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.plan-header h4 {
    font-size: var(--font-size-md);
    color: rgba(255,255,255,0.9);
    margin-bottom: 20px;
    font-weight: 400;
}

.plan-price {
    font-size: var(--font-size-h4);
    color: var(--mp-hejbit-yellow);
    font-weight: 900;
    margin-bottom: 24px;
    text-shadow: 0 2px 8px rgba(255,216,0,0.3);
}

.plan-benefits {
    margin-bottom: 32px;
    flex-grow: 1;
}

.plan-benefits p {
    font-size: var(--font-size-lg);
    color: rgba(255,255,255,0.95);
    line-height: 1.6;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.plan-features h5 {
    font-size: var(--font-size-md);
    color: var(--mp-color-white);
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

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

.plan-features li {
    font-size: var(--font-size-lg);
    color: rgba(255,255,255,0.9);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 16px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.plan-features li::before {
    content: '✓';
    color: var(--mp-hejbit-yellow);
    font-weight: bold;
    font-size: var(--icon-size-lg);
    text-shadow: 0 2px 4px rgba(255,216,0,0.3);
    flex-shrink: 0;
}

.plan-cta {
    text-align: center;
    width: 100%;
    padding: 16px 38px;
    border: 2px solid var(--mp-hejbit-yellow);
    border-radius: 12px;
    color: var(--mp-hejbit-yellow);
    background: transparent;
    font-weight: 700;
    font-size: var(--font-size-lg);
    letter-spacing: 0.01em;
    text-decoration: none;
    transition: all 0.3s ease;
    outline: none;
    cursor: pointer;
    text-transform: uppercase;
    margin-top: auto;
}

.plan-cta:hover {
    background: var(--mp-hejbit-yellow);
    color: var(--mp-grey-800);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,216,0,0.3);
}

/* HejBit Nextcloud Section */
.hejbit-nextcloud-section {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nextcloud-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.nextcloud-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 22, 47, 0.7);
    z-index: 2;
}

.nextcloud-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 1000px;
    padding: 60px 40px;
    margin: 0 auto;
}

/* Logo */
.nextcloud-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 80px;
}

.nextcloud-logo {
    max-height: 200px;
    width: auto;
    filter: drop-shadow(0 8px 24px rgba(0,0,0,0.5));
    transition: transform 0.3s ease;
}


/* Text Content */
.nextcloud-text-content {
    margin-bottom: 60px;
}

.nextcloud-question {
    font-size: var(--font-size-h4);
    color: var(--mp-color-white);
    margin-bottom: 32px;
    font-weight: 400;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.nextcloud-answer {
    font-size: var(--font-size-lg);
    color: rgba(255,255,255,0.9);
    margin-bottom: 24px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

.nextcloud-answer strong {
    color: var(--mp-hejbit-yellow);
    font-weight: 700;
}

.nextcloud-description {
    font-size: var(--font-size-lg);
    color: rgba(255,255,255,0.8);
    margin-bottom: 16px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

.nextcloud-tagline {
    font-size: var(--font-size-lg);
    color: rgba(255,255,255,0.8);
    margin-bottom: 0;
    text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

/* CTA Buttons */
.nextcloud-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 80px;
    flex-wrap: wrap;
}

.nextcloud-btn {
    display: inline-block;
    padding: 16px 38px;
    border: 2px solid var(--mp-hejbit-yellow);
    border-radius: 12px;
    color: var(--mp-hejbit-yellow);
    background: transparent;
    font-weight: 700;
    font-size: var(--font-size-lg);
    letter-spacing: 0.01em;
    text-decoration: none;
    transition: all 0.3s ease;
    outline: none;
    text-align: center;
    cursor: pointer;
    text-transform: uppercase;
    min-width: 160px;
}

.nextcloud-btn:hover {
    background: var(--mp-hejbit-yellow);
    color: var(--mp-grey-800);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,216,0,0.3);
}

/* Progress Bar */
.nextcloud-progress-bar {
    margin-top: 60px;
}

.progress-track {
    width: 100%;
    max-width: 600px;
    height: 4px;
    background: rgba(255,255,255,0.2);
    border-radius: 2px;
    margin: 0 auto;
    position: relative;
}

.progress-fill {
    width: 30%;
    height: 100%;
    background: var(--mp-hejbit-yellow);
    border-radius: 2px;
}

.progress-dot {
    position: absolute;
    left: 30%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background: var(--mp-color-white);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* How does HejBit Work Section */
.how-does-hejbit-work-section {
    padding: 120px 40px;
    background: var(--mp-hejbit-bg-dark);
    text-align: center;
}

.hejbit-work-container {
    max-width: 1000px;
    margin: 0 auto;
}

.hejbit-work-title {
    font-size: var(--font-size-h2);
    color: var(--mp-color-white);
    font-weight: 700;
    margin-bottom: 80px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.hejbit-video-player {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 4px solid var(--mp-hejbit-yellow);
    border-radius: 16px;
    overflow: hidden;
    background: rgba(0,0,0,0.8);
    box-shadow:
        0 0 30px rgba(255,216,0,0.3),
        0 8px 32px rgba(0,0,0,0.4);
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.custom-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: var(--mp-hejbit-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow:
        0 8px 25px rgba(255,216,0,0.4),
        0 0 20px rgba(255,216,0,0.2);
    z-index: 10;
}

.custom-play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow:
        0 12px 35px rgba(255,216,0,0.5),
        0 0 30px rgba(255,216,0,0.3);
}

.custom-play-button:active {
    transform: translate(-50%, -50%) scale(0.95);
}

.play-icon {
    width: 0;
    height: 0;
    border-left: 24px solid var(--mp-grey-800);
    border-top: 14px solid transparent;
    border-bottom: 14px solid transparent;
    margin-left: 6px;
}

.custom-play-button.hidden {
    opacity: 0;
    pointer-events: none;
}

.video-container video::-webkit-media-controls {
    display: none;
}

.video-container video::-webkit-media-controls-enclosure {
    display: none;
}

/* Custom Video Controls */
.video-container.playing .custom-play-button {
    opacity: 0;
    pointer-events: none;
}

.video-container:not(.playing) video {
    pointer-events: none;
}

.video-container.playing video {
    pointer-events: auto;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: var(--font-size-h2);
    }

    .hero-subtitle {
        font-size: var(--font-size-h2);
    }

    .hero-title-container {
        flex-direction: column;
        gap: 16px;
    }

    .hejbit-cubes {
        justify-content: center;
    }

    .cube {
        width: 60px;
        height: 60px;
        font-size: var(--icon-size-sm);
    }

    .hejbit-logo {
        height: 60px;
    }

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

    .cta-button {
        width: 100%;
        max-width: 300px;
    }

        .workflow-container {
        flex-direction: column;
        gap: 40px;
    }

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

    .workflow-step-image {
        width: 60px;
        height: 60px;
        margin: 4px;
    }

    .workflow-icons {
        margin-bottom: 16px;
    }

    .feature-card {
        flex-direction: column;
        text-align: center;
    }

        /* HejBit Nextcloud Mobile */
    .nextcloud-content {
        padding: 40px 20px;
    }

    .nextcloud-logo-container {
        margin-bottom: 60px;
    }

    .nextcloud-logo {
        max-height: 150px;
    }

    .nextcloud-question {
        font-size: var(--font-size-lg);
        margin-bottom: 24px;
    }

    .nextcloud-answer {
        font-size: var(--font-size-md);
        margin-bottom: 16px;
    }

    .nextcloud-description,
    .nextcloud-tagline {
        font-size: var(--font-size-sm);
    }

    .nextcloud-cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 16px;
        margin-bottom: 60px;
    }

    .nextcloud-btn {
        width: 100%;
        max-width: 250px;
        font-size: var(--font-size-sm);
        padding: 14px 24px;
    }

    /* How does HejBit Work Mobile */
    .how-does-hejbit-work-section {
        padding: 80px 20px;
    }

    .hejbit-work-title {
        font-size: var(--font-size-h2);
        margin-bottom: 60px;
    }

    .video-container {
        border-width: 3px;
        border-radius: 12px;
    }

    .custom-play-button {
        width: 80px;
        height: 80px;
    }

    .play-icon {
        border-left-width: 20px;
        border-top-width: 12px;
        border-bottom-width: 12px;
        margin-left: 5px;
    }

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

    .plan-card {
        min-height: 500px;
    }

    .plan-content {
        padding: 24px;
    }

    .plan-icon {
        font-size: var(--icon-size-lg);
    }

    .plan-header h3 {
        font-size: var(--font-size-md);
    }

    .plan-price {
        font-size: var(--font-size-h4);
    }

    .plan-card.popular {
        transform: none;
    }

    .plan-card.popular:hover {
        transform: translateY(-8px);
    }

    .hejbit-nav-menu {
        display: none;
    }

    .nav-socials {
        gap: 12px;
    }

    .nav-socials a {
        font-size: var(--icon-size-md);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: var(--font-size-h2);
    }

    .hero-subtitle {
        font-size: var(--font-size-h4);
    }

    .hero-sub-heading {
        font-size: var(--font-size-h4);
    }

    .what-is-section,
    .how-it-works-section,
    .features-section,
    .license-plans-section,
    .premium-solution-section {
        padding: 60px 20px;
    }
}

/* Product Features Section */
.product-features-section {
    position: relative;
    z-index: 2;
    padding-top: 80px;
    padding-bottom: 80px;
    overflow: visible;
}
#features-vanta-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
    border-radius: 20px;
    overflow: hidden;
    pointer-events: none;
}
.features-content, .features-title {
    position: relative;
    z-index: 2;
}
.features-video-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    z-index: 1;
}
.features-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(120deg, rgba(24,28,46,0.95) 60%, rgba(40,30,70,0.85) 100%);
    z-index: 2;
}
.features-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}
.features-title {
    color: var(--mp-color-white);
    font-family: var(--font-bauhaus);
    font-size: var(--font-size-h2);
    font-weight: 700;
    margin-bottom: 60px;
    text-align: left;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.features-table-wrapper {
    width: 100%;
    max-width: 1000px;
    background: transparent;
    overflow: hidden;
    box-shadow: 0 4px 32px rgba(0,0,0,0.10);
}
.features-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--font-size-md);
    color: var(--mp-color-white);
    background: transparent;
}
.features-table td {
    padding: 22px 32px;
    border-bottom: 1px solid var(--mp-hejbit-yellow, #ffe100);
    border-right: 1px solid var(--mp-hejbit-yellow, #ffe100);
    background: rgba(24,28,46,0.85);
    font-family: var(--font-avenir);
    vertical-align: top;
}
.features-table tr td:first-child {
    font-weight: 600;
    width: 38%;
}
.features-table tr:first-child td {
    border-top: 1px solid var(--mp-hejbit-yellow, #ffe100);;
}
.features-table tr:last-child td {
    border-bottom: 1px solid var(--mp-hejbit-yellow, #ffe100);;
}
.features-table tr td:last-child {
    border-right: none;
}

@media (max-width: 900px) {
    .features-content {
        max-width: 100%;
    }
    .features-table-wrapper {
        max-width: 80%;
    }
    .features-title {
        font-size: var(--font-size-h2);
        margin-bottom: 36px;
    }
    .features-table td {
        padding: 14px;
        font-size: var(--font-size-md);
    }
}
@media (max-width: 600px) {
    .product-features-section {
        padding: 60px 0 60px 0;
    }
    .features-title {
        font-size: var(--font-size-lg);
        margin-bottom: 24px;
    }
    .features-table td {
        padding: 12px;
        font-size: var(--font-size-md);
    }
    .features-table tr td:first-child {
        width: 45%;
    }
}

/* Technology Section */
.technology-section {
    width: 100%;
    background: var(--mp-hejbit-bg-dark);
    padding: 100px 0 60px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.technology-title {
    color: var(--mp-color-white);
    font-family: var(--font-bauhaus);
    font-size: var(--font-size-h2);
    font-weight: 700;
    margin-bottom: 60px;
    text-align: center;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.technology-cards {
    display: flex;
    gap: 40px;
    justify-content: center;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.tech-card {
    background: rgba(18,22,40,0.98);
    border: 1px solid var(--mp-hejbit-yellow, #ffe100);
    border-radius: 12px;
    padding: 38px 32px 32px 32px;
    width: 350px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 32px rgba(0,0,0,0.10);
    transition: box-shadow 0.2s, transform 0.2s;
}

.tech-logo img {
    max-height: 200px;
    width: 100%;
    margin: 0 auto;
    object-fit: contain;
}

.tech-logo img.nextcloud-logo {
    max-height: 140px;
    width: 85%;
    min-width: 180px;
    margin-bottom: 10px;
}
.tech-logo img.swarm-logo {
    max-height: 110px;
    width: 100%;
    min-width: 140px;
    margin-bottom: 40px;
    margin-top: 20px;
}

.tech-name {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--mp-hejbit-accent-blue);
    margin-bottom: 12px;
    font-family: var(--font-avenir);
    letter-spacing: 0.01em;
}

.tech-desc {
    color: var(--mp-color-white);
    font-size: var(--font-size-md);
    margin-bottom: 22px;
    padding: 0 16px;
    text-align: left;
    font-family: var(--font-avenir);
}

.tech-btn {
    display: inline-block;
    padding: 16px 38px;
    border: 2px solid var(--mp-hejbit-yellow);
    border-radius: 12px;
    color: var(--mp-hejbit-yellow);
    background: transparent;
    font-weight: 700;
    font-size: var(--font-size-lg);
    letter-spacing: 0.01em;
    text-decoration: none;
    transition: all 0.3s ease;
    outline: none;
    text-align: center;
    margin-top: 8px;
}

.tech-btn:hover {
    background: var(--mp-hejbit-yellow);
    color: var(--mp-grey-800);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,216,0,0.3);
}


.github-card {
    margin: 0 auto 48px auto;
    background: rgba(18,22,40,0.98);
    border: 1px solid var(--mp-hejbit-yellow, #ffe100);
    border-radius: 12px;
    padding: 38px 32px 32px 32px;
    width: 400px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 32px rgba(0,0,0,0.10);
    transition: box-shadow 0.2s, transform 0.2s;
}

.github-logo {
    width: 250px;
}

.github-logo img {
    max-height: 200px;
    width: 100%;
    object-fit: contain;
    display: block;
}

.github-btn {
    display: inline-block;
    padding: 16px 38px;
    border: 2px solid var(--mp-hejbit-yellow);
    border-radius: 12px;
    color: var(--mp-hejbit-yellow);
    background: transparent;
    font-weight: 700;
    font-size: var(--font-size-lg);
    letter-spacing: 0.01em;
    text-decoration: none;
    transition: all 0.3s ease;
    outline: none;
    text-align: center;
    margin-top: 8px;
}

.github-btn:hover {
    background: var(--mp-hejbit-yellow);
    color: var(--mp-grey-800);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,216,0,0.3);
}

.technology-cta-buttons {
    display: flex;
    gap: 32px;
    justify-content: center;
    margin-top: 32px;
    flex-wrap: wrap;
}
.tech-cta-btn {
    display: inline-block;
    padding: 16px 38px;
    border: 2px solid var(--mp-hejbit-yellow);
    border-radius: 12px;
    color: var(--mp-hejbit-yellow);
    background: transparent;
    font-weight: 700;
    font-size: var(--font-size-lg);
    letter-spacing: 0.01em;
    text-decoration: none;
    transition: all 0.3s ease;
    outline: none;
    text-align: center;
    margin-top: 8px;
}
.tech-cta-btn:hover {
    background: var(--mp-hejbit-yellow);
    color: var(--mp-grey-800);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,216,0,0.3);
}
@media (max-width: 900px) {
    .technology-cards {
        flex-direction: column;
        gap: 28px;
        align-items: center;
    }
    .technology-title {
        font-size: var(--font-size-h2);
        margin-bottom: 36px;
    }
    .github-card,.tech-card {
        width: 80%;
        padding: 28px 12px 24px 12px;
    }
    .technology-cta-buttons {
        gap: 16px;
        margin-top: 18px;
    }
    .tech-cta-btn {
        font-size: var(--font-size-lg);
        padding: 12px 18px;
    }
}
@media (max-width: 600px) {
    .technology-section {
        padding: 60px 8px 40px 8px;
    }
    .technology-title {
        font-size: var(--font-size-lg);
        margin-bottom: 18px;
    }
    .github-logo img {
        width: 120px;
        height: 120px;
        margin: 0 auto;
        transform: scale(1.5);
    }
    .github-card {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .github-name {
        font-size: var(--font-size-lg);
    }
    .tech-logo img {
        width: 120px;
        height: 80px;
        margin: 0 auto;
    }
    .tech-name {
        font-size: var(--font-size-lg);
    }
    .tech-desc {
        font-size: var(--font-size-md);
    }
}

/* How it Works Section Workflow Background */
.hejbit-workflow-bg {
    margin-top: -100px;
    width: 80%;
    max-width: 1200px;
    height: auto;
    aspect-ratio: 700/420;
    margin: 0 auto;
    background: url('../images/cubes-desktop.png') center center no-repeat;
    background-size: contain;
    display: block;
}
  @media (max-width: 900px) {
      .hejbit-workflow-bg {
          transform: scale(1.15);
          width: 100%;
          max-width: 420px;
          height: auto;
        aspect-ratio: 700/420;
        background-image: url('../images/cubes-mobile.png');
    }
}
  @media (max-width: 600px) {
      .hejbit-workflow-bg {
          width: 100%;
          max-width: 100%;
          height: auto;
        aspect-ratio: 700/420;
        background-image: url('../images/cubes-mobile.png');
    }
}

/* Testimonials Section */
.testimonials-section {
    width: 100%;
    background: var(--mp-hejbit-bg-dark);
    padding: 100px 0 60px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.testimonials-title {
    color: var(--mp-color-white);
    font-family: var(--font-bauhaus);
    font-size: var(--font-size-h2);
    font-weight: 700;
    margin-bottom: 60px;
    text-align: center;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.testimonials-cards {
    display: flex;
    gap: 40px;
    justify-content: center;
    margin-bottom: 0;
    flex-wrap: wrap;
}
#testimonials-vanta-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
    border-radius: 20px;
    overflow: hidden;
    pointer-events: none;
}
.testimonials-cards {
    position: relative;
    z-index: 2;
}
.testimonial-card {
    position: relative;
    z-index: 2;
    background: transparent;
    border: 1.5px solid var(--mp-hejbit-yellow, #ffe100);
    border-radius: 12px;
    padding: 38px 32px 32px 32px;
    width: 340px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 32px rgba(0,0,0,0.10);
    overflow: hidden;
    min-height: 480px;
}
.testimonial-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 2;
    background: linear-gradient(120deg, rgba(24,28,46,0.72) 60%, rgba(80,40,120,0.62) 100%);
    pointer-events: none;
}
.testimonial-img {
    position: relative;
    z-index: 2;
    width: 140px;
    min-height: 140px;
    aspect-ratio: 1 / 1;
    margin-bottom: 24px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--mp-color-white);
    background: #222;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}
.testimonial-name {
    z-index: 2;
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--mp-color-white);
    margin-bottom: 6px;
    font-family: var(--font-avenir);
    letter-spacing: 0.01em;
    text-align: center;
}
.testimonial-title {
    z-index: 2;
    font-size: var(--font-size-lg);
    color: var(--mp-color-white);
    margin-bottom: 18px;
    text-align: center;
    font-family: var(--font-avenir);
    opacity: 0.85;
}
.testimonial-text {
    z-index: 2;
    color: var(--mp-color-white);
    font-size: var(--font-size-lg);
    text-align: center;
    font-family: var(--font-avenir);
    opacity: 0.95;
    margin-top: 8px;
}
@media (max-width: 900px) {
    .testimonials-cards {
        flex-direction: column;
        gap: 28px;
        align-items: center;
    }
    .testimonials-title {
        font-size: var(--font-size-h2);
        margin-bottom: 36px;
    }
    .testimonial-card {
        max-width: 80%;
        padding: 28px 12px 24px 12px;
    }
}
@media (max-width: 600px) {
    .testimonials-section {
        padding: 60px 0 40px 0;
    }
    .testimonials-title {
        font-size: var(--font-size-lg);
        margin-bottom: 18px;
    }
    .testimonial-img {
        height: 90px;
        margin-bottom: 14px;
    }
    .testimonial-name {
        font-size: var(--font-size-lg);
    }
    .testimonial-title {
        font-size: var(--font-size-lg);
    }
    .testimonial-text {
        font-size: var(--font-size-lg);
    }
}

/* Team Section */
.team-section {
    width: 100%;
    background: var(--mp-hejbit-bg-dark);
    padding: 40px 0 60px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}
.team-section .vanta-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
}

.team-content {
    z-index: 2;
    width: 70%;
    max-width: 1200px;
    margin: 0 auto 30px auto;
}

.team-title {
    z-index: 2;
    color: var(--mp-color-white);
    font-family: var(--font-bauhaus);
    font-size: var(--font-size-h2);
    font-weight: 700;
    margin-left: 0;
    margin-bottom: 24px;
    text-align: left;
    width: 100%;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.team-description {
    z-index: 2;
    color: var(--mp-color-white);
    font-size: var(--font-size-lg);
    margin-top: -20px;
    text-align: left;
    font-family: var(--font-avenir);
}

.team-images-wrapper {
    margin-top: 30px;
    margin-bottom: 64px;
    position: relative;
    width: 600px;
    max-width: 100%;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.team-globe-bg {
    position: absolute;
    left: 60%;
    top: 40%;
    transform: translate(-40%, -60%);
    z-index: 1;
    width: 420px;
    height: 420px;
    opacity: 0.45;
    filter: blur(1px) grayscale(0.2);
    pointer-events: none;
}

.team-main-img {
    position: relative;
    z-index: 2;
    width: 520px;
    max-width: 90%;
    border-radius: 18px;
    overflow: hidden;
    right: 30%;
    top: 5%;
    margin: 0 auto;
}

.team-main-img img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 18px;
}
@media (max-width: 900px) {
    .team-section {
        padding: 60px 0 40px 0;
    }
    .team-title {
        font-size: var(--font-size-h2);
        margin-bottom: 36px;
    }
          .team-images-wrapper {
          width: 100%;
          height: 260px;
      }
    .team-globe-bg {
        width: 220px;
        height: 220px;
        left: 65%;
        top: 35%;
        transform: translate(-35%, -65%);
    }
    .team-main-img {
        width: 400px;
        left: 0;
        top: 0;
        margin: 0 auto;
    }
}

/* Contact Section */
.contact-section {
    position: relative;
    width: 100%;
    min-height: 600px;
    background: var(--mp-hejbit-bg-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 0 60px 0;
    overflow: hidden;
}
.contact-section .vanta-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
}
.contact-title {
    position: relative;
    z-index: 2;
    color: var(--mp-color-white);
    font-family: var(--font-bauhaus);
    font-size: var(--font-size-h2);
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.contact-form {
    position: relative;
    z-index: 2;
    width: 600px;
    max-width: 100%;
    background: rgba(16,24,43,0.7);
    border: 2px solid var(--mp-hejbit-yellow, #ffe100);
    border-radius: 12px;
    padding: 48px 32px 32px 32px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    box-shadow: 0 4px 32px rgba(0,0,0,0.10);
}



.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 18px 24px;
    border-radius: 10px;
    border: 2px solid var(--mp-color-white);
    background: var(--mp-color-white);
    color: var(--mp-hejbit-bg-dark);
    font-size: var(--font-size-md);
    font-family: var(--font-avenir);
    margin-bottom: 0;
    outline: none;
    transition: border 0.18s, box-shadow 0.18s;
}

.contact-form input::placeholder, .contact-form textarea::placeholder {
    color: var(--mp-hejbit-bg-dark);
    opacity: 0.85;
}
.contact-form input:focus {
    border: 2px solid var(--mp-hejbit-yellow, #ffe100);
    box-shadow: 0 0 8px 0 var(--mp-hejbit-yellow, #ffe100);
}
.contact-btn {
    margin: 0 auto;
    display: inline-block;
    padding: 16px 38px;
    border: 2px solid var(--mp-hejbit-yellow);
    border-radius: 12px;
    color: var(--mp-hejbit-yellow);
    background: transparent;
    font-weight: 700;
    font-size: var(--font-size-lg);
    letter-spacing: 0.01em;
    text-decoration: none;
    transition: all 0.3s ease;
    outline: none;
    text-align: center;
    cursor: pointer;
}
.contact-btn:hover, .contact-btn:focus {
    background: var(--mp-hejbit-yellow);
    color: var(--mp-grey-800);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,216,0,0.3);
}
@media (max-width: 700px) {
    .contact-form {
        width: 80%;
        padding: 28px 12px 18px 12px;
        gap: 18px;
    }
    .contact-title {
        font-size: var(--font-size-lg);
        margin-bottom: 18px;
    }
    .contact-form input {
        font-size: var(--font-size-md);
        padding: 12px 10px;
    }
    .contact-btn {
        font-size: var(--font-size-md);
        padding: 12px 0;
        width: 100%;
        min-width: 0;
    }
}


/* Section Titles - Bauhaus, left aligned */
.section-title,
.hejbit-work-title,
.features-title,
.technology-title,
.team-title,
.contact-title,
.testimonials-title {
    font-family: var(--font-bauhaus);
    text-align: left;
    width: 70%;
    margin: 0 auto 4rem auto;
}

/* All other text - Avenir */
body, .hejbit-body, .section-description, .feature-content p, .plan-content, .plan-benefits, .plan-features, .tech-desc, .team-description, .testimonial-name, .testimonial-title, .testimonial-text, .contact-form, .contact-form input, .contact-form input::placeholder {
    font-family: var(--font-avenir);
}

/* Adjust section layouts to use .section-container */
.what-is-section, .how-it-works-section, .features-section, .license-plans-section, .hejbit-nextcloud-section, .how-does-hejbit-work-section, .product-features-section, .technology-section, .testimonials-section, .team-section, .contact-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Responsive: 100% width on mobile */
@media (max-width: 900px) {

    .section-container {
        width: 100%;
        max-width: 100%;
    }
    .section-title,
    .hejbit-work-title,
    .features-title,
    .technology-title,
    .team-title,
    .contact-title,
    .testimonials-title {
        text-align: left;
        font-size: var(--font-size-h3);
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .hejbit-nav {
        margin-bottom: 30px;
    }

    /* Hero Section Mobile */
  .hejbit-hero-section, .hejbit-hero-section video, .hero-content {
    width: 100%;
    min-height: 100vh;
    padding: 0;
  }
  .hero-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    padding: 0;
    text-align: center;
  }
  .hero-title-container {
    height: 30vh;
    align-items: center;
  }
  .hejbit-logo {
    height: 30vh;
    max-width: 90%;
    margin-bottom: 0;
  }
  .hero-subtitle, .hero-cta-buttons, .hero-sub-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
  }
  .hero-cta-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 48px;
  }
  .cta-button {
    width: 100%;
    font-size: 1.1rem;
    padding: 12px 16px;
    text-wrap: nowrap;
  }
  .hero-sub-content {
    margin-top: 18px;
  }
  .hejbit-sub-heading {
    font-size: var(--font-size-h5);
    margin-bottom: 10px;
  }
  .hero-below-buttons {
    font-size: 1rem;
    padding: 0 4px;
    margin-bottom: 32px;
  }
  .hejbit-hero-section video {
    height: 100%;
    object-fit: cover;
  }
}

@media (max-width: 600px) {
  .hejbit-nav {
    flex-direction: row;
    align-items: center;
    padding: 0px 4px;
    position: relative;
    z-index: 10;
    margin-bottom: 30px;
  }

  .nav-brand {
    flex: 1;
    display: flex;
    justify-content: center;
  }

  .metaprovide-logo {
    height: 24px;
  }

  .nav-socials {
    display: flex;
    gap: 8px;
  }

  .nav-socials a {
    font-size: 18px;
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
  }

  .hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--mp-color-white);
    margin: 2px 0;
    transition: 0.3s;
    border-radius: 1px;
  }

  /* Full Screen Navigation Menu */
  .hejbit-nav-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 22, 47, 0.98);
    z-index: 1000;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    backdrop-filter: blur(10px);
    overflow: hidden;
  }

  .hejbit-nav-menu.open {
    display: flex;
  }

  .hejbit-nav-menu a {
    color: var(--mp-color-white);
    text-decoration: none;
    font-size: 2.5rem;
    font-weight: 400;
    margin: 1.5rem 0;
    transition: all 0.3s ease;
    font-family: 'Bauhaus Std', sans-serif;
    letter-spacing: 0.02em;
  }

  .hejbit-nav-menu a:hover {
    color: var(--mp-hejbit-yellow);
    transform: translateY(-2px);
  }

  .hejbit-nav-menu a.nav-current {
    color: var(--mp-hejbit-yellow);
  }

  /* Hamburger animation when open */
  .hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.open span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
}

@media (min-width: 601px) {
  .hamburger {
    display: none;
  }

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

/* Active/Current navigation link for HejBit navigation */
.hejbit-nav-menu a.nav-current,
.hejbit-nav-menu a[aria-current="page"],
.hejbit-nav-menu a.active {
    font-weight: 600;
    color: var(--mp-hejbit-yellow);
}

/* Active link hover state for HejBit navigation */
.hejbit-nav-menu a.nav-current:hover,
.hejbit-nav-menu a[aria-current="page"]:hover,
.hejbit-nav-menu a.active:hover {
    color: var(--mp-hejbit-blue);
}

/* Responsive image switching for HejBit in action */
.hejbit-desktop-img {
    display: block;
}

.hejbit-mobile-img {
    display: none;
}

@media (max-width: 768px) {
    .hejbit-desktop-img {
        display: none;
    }

    .hejbit-mobile-img {
        display: block;
    }
}
