/* ==========================================================================
   1. GLOBAL STYLES & VARIABLES
   Used by: iotedge.html, index.html
   Source: 0-global.css
   ========================================================================== */
:root {
    --iotedge-purple: #9146FF;
    --iotedge-purple-1: #A873FF;
    --iotedge-yellow-0: #FFE546;
    --iotedge-green-0: #46FF91;
    --iotedge-green-4: #46FF5E;
    --iotedge-divider: #ccc;

    --github-light-purple: #9466e2;
    --baby-pink: #ff94c2;
    --highlight-yellow: #f2d743;
    --background-light: #ffffff;
    --background-dark: #f6f8fa;
    /* --text-color: #24292e; */
    --text-color: hsl(210, 10%, 0%);
    --text-color-1: hsl(210, 10%, 50%);
    --text-color-iot-edge: hsl(210, 10%, 30%);
    --shadow-color: rgba(0, 0, 0, 0.1);
    --transition-speed: 0.3s;

    font-size: 16px;
}

code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
    background-color: #f6f8fa;
    padding: 0.2em 0.4em;
    border-radius: 4px;
    font-size: 0.95em;
}

.spacer-2 {
    height: 2rem;
}

.spacer-1 {
    height: 1rem;
}





body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--background-light);
    color: var(--text-color);
    line-height: 1.6;
    scroll-behavior: smooth;
}

.fade-out {
    opacity: 0;
}

section {
    scroll-margin-top: 8rem;
    max-width: 60rem;
    margin: 0 auto;
    text-align: center;
    justify-content: center;
    align-items: center;
}

section img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0.625rem;
    margin: 0;
    margin-top: 2rem;
    padding: 0;
}

p {
    margin-top: 0;
    text-align: justify;
}

/* Links styling in p */
p a:link {
    text-decoration: none;
    color: var(--iotedge-purple);
}

p a:visited {
    text-decoration: none;
    color: var(--iotedge-purple);
}

p a:hover {
    text-decoration: underline;
}

p a:active {
    text-decoration: underline;
}

.highlight-iot-edge {
    text-align: left;
    font-weight: 500;
    color: var(--text-color-iot-edge);
}

.img1-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
}

.img1 {
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    padding: 1rem;
    width: 70%;
}

.clickable-gif {
    cursor: pointer;
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 0.625rem;
}

@media (max-width: 768px) {

    /* Exclude specific elements from global margin adjustment */
    body *:not(header):not(footer):not(section img):not(.logo-slider):not(.carousel-wrapper):not(.carousel-item):not(.carousel-item img):not(.slider-container):not(.image-is-96x96):not(.mobile-nav):not(.mobile-nav-item-wrapper):not(.nav-item):not(.mobile-submenu-wrapper):not(.nav-submenu-item):not(.hamburger-menu):not(.hamburger-menu.active):not(.hamburger-menu span):not(.modal) {
        margin-left: 0.3rem;
        margin-right: 0.3rem;
    }
}

/* ==========================================================================
   2. HEADER & NAVIGATION
   Used by: iotedge.html, index.html
   Source: 1-header.css
   ========================================================================== */
header {
    background-color: var(--iotedge-purple);
    padding: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1001;
    box-shadow: 0 0.25rem 0.375rem var(--shadow-color);
    height: 2.8rem;
    transition: top 0.3s ease-in-out;
}

header .nav-container {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    max-width: 75rem;
    margin: 0 auto;
    align-items: center;
}

header img {
    width: auto;
    height: 3.5rem;
    cursor: pointer;
    transition: transform var(--transition-speed);
    vertical-align: middle;
}

nav {
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
    gap: 1.25rem;
}

nav .nav-item {
    color: #ffffff;
    text-decoration: none;
    padding: 0.625rem 0.25rem;
    border-radius: 0.0625rem;
    font-weight: 500;
    position: relative;
    transition: background-color var(--transition-speed);
}

nav .nav-item:hover:after,
nav .nav-item.active:after {
    width: 100%;
    content: '';
    position: absolute;
    height: 0.125rem;
    background-color: var(--iotedge-yellow-0);
    bottom: -0.1875rem;
    left: 0;
    transition: width var(--transition-speed);
}

nav a:hover,
nav a.active {
    color: var(--iotedge-yellow-0);
}

nav .cta-button {
    text-decoration: none;
    background-color: var(--iotedge-green-0);
    color: var(--text-color) !important;
    padding: 0.625rem 1.25rem;
    border-radius: 0.625rem;
    font-weight: 500;
    transition: background-color var(--transition-speed), transform var(--transition-speed);
}

nav .cta-button:hover {
    background-color: var(--iotedge-green-4);
    transform: scale(1.05);
}

.nav-item-wrapper {
    position: relative;
    padding: 0.625rem;
}

.nav-submenu-wrapper {
    display: none;
    position: absolute;
    top: 150%;
    left: 0;
    background-color: rgba(255, 255, 255);
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    z-index: 1000;
    width: 13rem;
    border-radius: 0.5rem;
}

.nav-hover-zone {
    position: absolute;
    top: 100%;
    left: 0;
    width: 12.5rem;
    height: 3rem;
    z-index: 999;
    background-color: transparent;
    display: none;
}

/* Show submenu on hover */
.nav-item-wrapper:hover .nav-submenu-wrapper,
.nav-hover-zone:hover+.nav-submenu-wrapper {
    display: block;
}

.nav-item-wrapper:hover .nav-hover-zone {
    display: block;
}

.arrow {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 0.3125rem solid transparent;
    border-right: 0.3125rem solid transparent;
    border-top: 0.3125rem solid currentColor;
    margin-left: 0.3125rem;
    margin-top: 0.25rem;
    transition: transform 0.3s ease;
}

.nav-item-wrapper .arrow,
.mobile-nav-item-wrapper .arrow {
    position: relative;
    top: -0.125rem;
}

.mobile-nav-item-wrapper.active .arrow,
.nav-item-wrapper:hover .arrow {
    transform: rotate(180deg);
}

.nav-submenu-item {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--iotedge-purple);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-submenu-item:hover {
    background-color: var(--iotedge-purple);
    color: var(--iotedge-yellow-0);
}

/* Mobile Nav Styles */
.mobile-nav {
    display: none;
    background-color: rgba(145, 70, 255, 0.95);
    position: fixed;
    right: 0;
    top: 5.3rem;
    height: calc(100vh - 5.3rem);
    width: 12rem;
    z-index: 1002;
    flex-direction: column;
    align-items: center;
    box-shadow: -0.25rem 0.25rem 0.375rem var(--shadow-color);
    opacity: 0;
    transform: translateX(100%);
    transition: opacity var(--transition-speed), transform var(--transition-speed);
    overflow-y: auto;
}

.mobile-nav.active {
    display: flex;
    opacity: 1;
    transform: translateX(0);
}

.mobile-nav .nav-item {
    display: block;
    width: 60%;
    padding: 1rem 1.5rem;
    color: #ffffff;
    text-align: center;
    font-size: 1.25rem;
    margin: 0.5rem 0;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: background-color var(--transition-speed), box-shadow var(--transition-speed);
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.15);
}

.mobile-nav .nav-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0.5rem 0.75rem rgba(0, 0, 0, 0.2);
}

.mobile-nav .cta-button {
    display: block;
    margin-top: 1.5rem;
    padding: 0.75rem 2rem;
    background-color: var(--iotedge-green-0);
    color: #24292e !important;
    border-radius: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color var(--transition-speed), transform var(--transition-speed), box-shadow var(--transition-speed);
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.15);
}

.mobile-nav .cta-button:hover {
    background-color: var(--iotedge-green-4);
    transform: scale(1.05);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
}

.mobile-nav .nav-item,
.mobile-nav .cta-button {
    z-index: 1001;
}

.mobile-nav-item-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    text-align: center;
}

.mobile-submenu-wrapper {
    display: none;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    margin-top: 0.5rem;
    border-radius: 0.5rem;
}

.mobile-nav-item-wrapper.active .mobile-submenu-wrapper {
    display: flex;
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 2rem;
    height: 1.5rem;
    cursor: pointer;
    position: relative;
    margin-left: auto;
    transition: transform var(--transition-speed);
}

.hamburger-menu.active {
    transform: none;
}

.hamburger-menu span {
    display: block;
    height: 0.25rem;
    background-color: #fff;
    border-radius: 0.25rem;
    transition: all 0.3s ease-in-out;
}

.hamburger-menu.active span:nth-child(1) {
    transform: translateY(0.61rem) rotate(45deg);
}

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

.hamburger-menu.active span:nth-child(3) {
    transform: translateY(-0.61rem) rotate(-45deg);
}

@media (max-width: 866px) {
    nav {
        display: none;
    }

    .hamburger-menu {
        display: flex;
    }
}

@media (max-width: 866px) and (orientation: landscape) {
    .mobile-nav .nav-item {
        padding: 0.5rem 1rem;
        margin: 0.25rem 0;
    }

    .mobile-nav .cta-button {
        padding: 0.5rem 1.5rem;
        margin-top: 1rem;
    }
}

/* ==========================================================================
   3. LANDING PAGE HERO
   Used by: iotedge.html
   Source: 2-landing-page.css
   ========================================================================== */
.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: none;
    animation: fadeInUp var(--transition-speed) ease-in-out;
    max-width: 75rem;
}

.hero-caption {
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--iotedge-purple);
    margin-top: 3rem;
    margin-bottom: 2rem;
    z-index: 500;
    text-align: center;
    animation: fadeInUp var(--transition-speed) ease-in-out;
}

.highlight {
    color: var(--iotedge-yellow-0);
    font-weight: 1000;
    text-shadow:
        -0.0625rem -0.0625rem 0 var(--iotedge-purple),
        0.0625rem -0.0625rem 0 var(--iotedge-purple),
        -0.0625rem 0.0625rem 0 var(--iotedge-purple),
        0.0625rem 0.0625rem 0 var(--iotedge-purple),
        0 0 1.25rem var(--iotedge-purple),
        0 0 1.875rem var(--iotedge-purple),
        0 0 2.5rem var(--iotedge-purple),
        0 0 3.125rem var(--iotedge-purple);
}

@media (max-width: 866px) {
    .hero-caption {
        font-size: 2.1rem;
        font-weight: 600;
        min-height: 10rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

.hero img {
    width: 100%;
    max-width: 100rem;
    display: block;
    height: auto;
    border-radius: 0.625rem;
    margin: 0;
    margin-top: 0rem;
    padding: 0;
}

/* Scroll to Top Button */
#scrollTopBtn {
    display: none;
    position: fixed;
    bottom: 1.875rem;
    right: 1.875rem;
    z-index: 999;
    background-color: var(--iotedge-purple);
    border: none;
    color: var(--background-light);
    padding: 0.625rem 0.9375rem;
    border-radius: 50%;
    box-shadow: 0 0.25rem 0.625rem var(--shadow-color);
    cursor: pointer;
    transition: background-color var(--transition-speed), transform var(--transition-speed);
}

#scrollTopBtn:hover {
    background-color: var(--highlight-yellow);
    color: var(--text-color);
    transform: scale(1.1);
}

/* ==========================================================================
   4. SUB-HERO SECTION
   Used by: iotedge.html
   Source: 2.1-sub-hero.css
   ========================================================================== */
.sub-hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: none;
    animation: fadeInUp var(--transition-speed) ease-in-out;
    max-width: 75rem;
}

.sub-hero h2 {
    font-size: 2rem;
    color: var(--text-color);
    margin-top: 4rem;
    text-align: center;
    max-width: 60rem;
}

.sub-hero h3 {
    margin-top: -1rem;
    font-size: 1.125rem;
    max-width: 55rem;
    color: var(--text-color-1);
}

.feature-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 75rem;
    margin-top: 1rem;
}

.panel {
    /* background: white; */
    /* Set to purple border by default */
    border: 1px solid var(--iotedge-purple);
    border-radius: 0.75rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    /* Set active shadow by default */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.panel-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.icon {
    color: var(--iotedge-purple);
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
}

.panel h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-color);
    letter-spacing: -0.025em;
}

.accent-bar {
    height: 4px;
    /* Wider bar by default */
    width: 4rem;
    background-color: var(--iotedge-purple);
    border-radius: 99px;
    margin-bottom: 1.5rem;
}

.item-list {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.item-list p {
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
    padding-left: 1rem;
    /* Use the highlighted border color by default */
    border-left: 2px solid #ede9fe;
}

@media (max-width: 866px) {
    .feature-container {
        grid-template-columns: 1fr;

        /* centered */
        /* margin: 1rem auto 0; */
        width: 100%;
        max-width: 34rem;
        /* etwas schmaler */
        padding-left: 2rem;
        padding-right: 2rem;

        box-sizing: border-box;
        justify-items: stretch;
    }

    .feature-container>.panel {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}

/* ==========================================================================
   5. USE CASES SECTION
   Used by: iotedge.html
   Source: 3-usecases.css
   ========================================================================== */
.section-divider-h1 {
    margin-top: 8rem;
    font-size: 2rem;
    color: var(--iotedge-purple);
    font-weight: bold;
    /* text-transform: capitalize; */
    padding-bottom: 0.25rem;
    border-bottom: 0.25rem solid var(--iotedge-divider);
}

.section-divider-h2 {
    margin-top: 10rem;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--iotedge-purple);
    font-weight: bold;
    /* text-transform: capitalize; */
    padding-bottom: 0.25rem;
    border-bottom: 0.125rem solid var(--iotedge-divider);
}

.section-divider-h3 {
    display: inline-block;
    padding: 0 0.75rem 0.25rem;
    margin-top: 7rem;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    color: var(--iotedge-purple);
    font-weight: bold;
    /* text-transform: capitalize; */
    padding-bottom: 0.25rem;
    border-bottom: 0.05rem solid var(--iotedge-divider);
}



@media screen and (max-width: 866px) {

    .section-divider-h1::before,
    .section-divider-h1::after {
        margin: 0 0.5rem;
    }

    .section-divider-h2::before,
    .section-divider-h2::after {
        display: none;
    }
}

.use-cases img {
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    margin-top: 2rem;
    cursor: pointer;
}

.table-1 {
    width: 60rem;
    margin-top: 4rem;
    border-collapse: collapse;
    text-align: center;
    background-color: var(--background-light);
}

.table-1 td,
.table-1 th {
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-weight: 500;
    width: 25%;
    border: 0.1rem solid var(--iotedge-divider);
}

.table-1 tr:first-child th {
    border-top: none;
}

.table-1 tr:first-child td {
    border-top: none;
}

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

.table-1 tr td:first-child,
.table-1 tr th:first-child {
    border-left: none;
}

.table-1 tr td:last-child,
.table-1 tr th:last-child {
    border-right: none;
}

.checkmark {
    color: green;
    border: none;
    width: auto;
    height: auto;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    transform: scale(1.3);
}

@media screen and (max-width: 866px) {

    .table-1 td,
    .table-1 th {
        padding: 0.25rem 0.25rem;
    }

    .table-1 {
        width: 90%;
        margin: 4rem auto;
    }
}

/* ==========================================================================
   6. TECHNOLOGIES SECTION
   Used by: iotedge.html
   Source: 4-technologies.css
   ========================================================================== */
.styled-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.styled-list>li {
    margin-bottom: 20px;
}

.styled-list ul {
    list-style-type: ">  ";
    padding-left: 2rem;
    margin-top: 10px;
}

.styled-list ul li {
    margin-bottom: 0.5rem;
}

.styled-list ul li b {
    color: var(--text-color);
    font-weight: 600;
}

.styled-list a:link {
    text-decoration: none;
    color: var(--iotedge-purple);
}

.styled-list a:visited {
    text-decoration: none;
    color: var(--iotedge-purple);
}

.styled-list a:hover {
    text-decoration: underline;
}

.styled-list a:active {
    text-decoration: underline;
}

/* Logo Slider */
.slider-container {
    max-width: 75rem;
    margin: 0 auto;
    margin-top: 0rem;
    overflow: hidden;
    padding: 1.25rem 0;
}

.logo-slider {
    overflow: hidden;
    background-color: var(--background-light);
}

.carousel-wrapper {
    display: flex;
    align-items: center;
    white-space: nowrap;
    transition: transform 1s ease-in-out;
    position: relative;
}

.carousel-item {
    flex: 0 0 auto;
    width: auto;
    margin-right: -1.4rem;
}

.image-is-96x96 {
    margin-bottom: 0;
}

.carousel-item img {
    height: 60px;
    width: 60px;
    display: block;
}

.technologies img {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

@media (max-width: 866px) {
    .carousel-item {
        margin-right: -1.5rem;
    }

    .image-is-96x96 {
        margin-left: 0;
    }
}

/* ==========================================================================
   7. CONTACT SECTION
   Used by: iotedge.html
   Source: 5-contact.css
   ========================================================================== */
.badge-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 4rem;
}

.contact h4 {
    margin-top: 4rem;
    margin-bottom: 4rem;
    font-size: 1.125rem;
    max-width: 60rem;
    color: var(--text-color);
}

.profile-badge {
    max-width: 300px;
    background-color: #fff;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin: 0;
}

.badge-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 1rem;
}

.badge-header img {
    height: 20px;
}

.profile-content {
    text-align: left;
}

.profile-picture {
    width: 8rem;
    height: 8rem;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 1.5rem auto 1rem;
}

.profile-name {
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0;
    text-align: center;
    margin-bottom: 0.5rem;
}

.profile-title {
    font-size: 0.95rem;
    color: #555;
    text-align: center;
    margin: 0 0 0.5rem;
    line-height: 1.3;
}

.profile-university {
    font-size: 0.85rem;
    color: #777;
    text-align: center;
    margin: 0 0 1rem;
}

.view-profile-btn {
    display: block;
    text-align: center;
    background-color: #fff;
    color: var(--iotedge-purple);
    border: 1px solid var(--iotedge-purple);
    border-radius: 4px;
    padding: 0.5rem 1rem;
    text-decoration: none;
    font-weight: bold;
    margin: 2rem auto;
    width: fit-content;
    cursor: pointer;
    transition: all 0.2s ease;
}

.view-profile-btn-container {
    display: flex;
    justify-content: center;
}

.view-profile-btn:hover {
    background-color: var(--iotedge-purple);
    color: #fff;
}

@media (max-width: 768px) {
    .badge-container {
        flex-direction: column;
        gap: 1rem;
    }

    .profile-badge {
        max-width: 100%;
        margin: 0 auto;
        padding: 1rem;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    }

    .view-profile-btn-container {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .view-profile-btn {
        width: 25%;
        margin: 0.2rem auto;
    }
}

/* ==========================================================================
   8. GATEWAY (LANDING) PAGE SPECIFIC STYLES
   Used by: index.html
   Source: Embedded <style> in index.html
   ========================================================================== */
/* Ensure the body takes full height */
.gateway-container body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #F5F7FA;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Main Container - Centering Everything */
.gateway-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
}

/* Header Text */
.gateway-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 40rem;
    animation: fadeIn 0.8s ease-out;
}

.gateway-header h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.gateway-header p {
    font-size: 1.1rem;
    color: #7f8c8d;
    line-height: 1.6;
}

/* The Pipeline Row */
.product-pipeline {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    width: 100%;
    max-width: 70rem;
}

/* Product Cards */
.product-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #ffffff;
    padding: 3rem 2rem;
    border-radius: 16px;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    min-width: 280px;
    position: relative;
    overflow: hidden;
    z-index: 10;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(145, 70, 255, 0.15);
    border-color: #9146FF;
}

.product-icon {
    height: 80px !important;
    width: 80px !important;
    object-fit: contain;
    margin-bottom: 1.5rem;
    transition: transform 0.3s;
}

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

.product-card h2 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin: 0 0 0.5rem 0;
    font-weight: 700;
}

.product-card p {
    text-align: center;
    color: #7f8c8d;
    font-size: 0.95rem;
    margin-bottom: 2rem;
    line-height: 1.5;
}

/* Fake Button */
.btn-fake {
    padding: 0.8rem 2rem;
    border-radius: 50px;
    background-color: #f0f0f0;
    color: #333;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.product-card:hover .btn-fake {
    background-color: #9146FF;
    color: white;
}

/* --- ANIMATED FLOW CONNECTOR --- */
.flow-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    position: relative;
    padding: 0 10px;
}

.flow-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #9146FF;
    margin-bottom: 0.8rem;
    letter-spacing: 1px;
    animation: textPulse 3s ease-in-out infinite;
}

.flow-arrow {
    width: 100%;
    height: 6px;
    border-radius: 4px;
    position: relative;
    background: linear-gradient(90deg, #9146FF 0%, #A873FF 30%, #46FF91 70%, #9146FF 100%);
    background-size: 200% 100%;
    animation: gradientFlow 3s linear infinite;
    box-shadow: 0 0 10px rgba(145, 70, 255, 0.2);
}

.flow-arrow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 20px;
    height: 6px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 5px #fff, 0 0 15px #46FF91;
    opacity: 0;
    animation: dataPacket 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    z-index: 2;
}

.flow-arrow::after {
    content: '';
    position: absolute;
    right: -8px;
    top: -7px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 12px solid #46FF91;
    filter: drop-shadow(0 0 2px rgba(70, 255, 145, 0.5));
    z-index: 3;
}

/* Animations */
@keyframes gradientFlow {
    0% {
        background-position: 100% 0;
    }

    100% {
        background-position: -100% 0;
    }
}

@keyframes dataPacket {
    0% {
        left: 0;
        opacity: 0;
        width: 5px;
    }

    10% {
        opacity: 1;
        width: 20px;
    }

    80% {
        opacity: 1;
        width: 20px;
    }

    100% {
        left: 95%;
        opacity: 0;
        width: 5px;
    }
}

@keyframes textPulse {

    0%,
    100% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
        color: #7025e8;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 868px) {
    .product-pipeline {
        flex-direction: column;
        gap: 2rem;
    }

    .flow-connector {
        transform: rotate(90deg);
        margin: 1rem 0;
        min-width: 120px;
    }

    .flow-connector .flow-label {
        transform: rotate(-180deg);
        margin-bottom: 0;
        margin-top: 1rem;
    }

    .gateway-container {
        padding: 2rem 1rem;
    }
}


/* ==========================================================================
   9. IOT|LAKEHOUSE PAGE SPECIFIC STYLES
   Used by: iotlakehouse.html
   Source: Embedded <style> in iotlakehouse.html
   ========================================================================== */
/* Clean table styling */

/* ==========================================================================
   10. FOOTER STYLES
   Used by: iotedge.html, index.html
   Source: 6-footer.css
   ========================================================================== */
footer {
    background-color: var(--iotedge-purple);
    padding: 1rem;
    text-align: center;
    bottom: 0;
    box-shadow: 0 -0.25rem 0.375rem var(--shadow-color);
}

footer .footer-container {
    display: flex;
    justify-content: space-between;
    width: 15%;
    max-width: 75rem;
    margin: 0 auto;
    align-items: center;
}

.footer-copyright,
.footer-link {
    color: #ffffff;
    font-size: 0.875rem;
    text-decoration: none;
    font-weight: 500;
}

.footer-link:hover {
    color: var(--iotedge-yellow-0);
}

@media (max-width: 768px) {
    footer .footer-container {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
        width: 100%;
        text-align: center;
    }

    .footer-copyright,
    .footer-link {
        font-size: 0.75rem;
        white-space: nowrap;
    }
}

/* ==========================================================================
   11. LAKEHOUSE PAGE SPECIFIC (NEW)
   Used by: iotlakehouse.html
   ========================================================================== */

.lakehouse-wrapper {
    max-width: 90rem;
    /* Wider than standard to fit tables */
    margin: 0 auto;
    padding: 2rem;
}

.lakehouse-intro {
    background-color: #fff;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid #f3f4f6;
    margin-bottom: 2.5rem;
    text-align: left;
}

.lakehouse-intro p {
    color: #374151;
    /* gray-700 */
    line-height: 1.625;
}

.transformation-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1rem;
    align-items: center;
}

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

.table-container {
    background-color: #fff;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    /* shadow-lg */
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

/* Section Headers within Lakehouse */
.lakehouse-h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    /* gray-800 */
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-align: center;
}

.badge-tag {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    color: white;
    background-color: #2563eb;
    /* blue-600 */
    padding: 0.125rem 0.5rem;
    border-radius: 0.25rem;
}

/* Pipeline Arrows & Badges */
.arrow-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0 0.5rem;
}

.badges-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

.tool-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.25rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    padding: 0.25rem 0.5rem;
    width: 4rem;
    color: white;
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: -0.025em;
}

.badge-dbt {
    background-color: #FF694B;
}

.badge-trino {
    background-color: #DD00A1;
}

.pipeline-arrow-wrapper {
    position: relative;
    width: 5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pipeline-arrow-head {
    position: absolute;
    right: 0;
    width: 1.5rem;
    height: 1.5rem;
    color: #9ca3af;
    /* gray-400 */
}

/* Layout for Text & Table side-by-side */
.lakehouse-grid {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    text-align: left;
    /* Overrides the global section center alignment */
    margin-top: 2rem;
    flex-wrap: wrap;
    /* Responsive: stacks on small screens */
}

.lakehouse-text {
    flex: 1;
    min-width: 300px;
}

.lakehouse-grid .table-container {
    flex: 1;
    min-width: 350px;
    max-width: 500px;
}

.lakehouse-text h3 {
    color: var(--iotedge-purple);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

/* Mobile Adjustments */
@media (max-width: 866px) {
    .lakehouse-grid {
        flex-direction: column;
    }

    .lakehouse-grid .table-container {
        max-width: 100%;
    }
}

/*  */

.side-by-side-layout {
    display: flex;
    flex-direction: row;
    align-items: center;
    /* Vertically centers the text column */
    justify-content: space-between;
    gap: 5%;
    margin: 40px 0;
}

/* Left Side: 45% width */
.description-column {
    flex: 0 0 45%;
    text-align: left;
}

/* Right Side: 50% width (Half Size) */
.table-column {
    flex: 0 0 50%;
    min-width: 0;
}

.description-column h3 {
    color: var(--iotedge-purple);
    font-size: 1.125rem;
    margin-bottom: 5px;
    /* text-align: center; */
}

.description-column li {
    /* color: #666; */
}

/* appen-only table */


.data-pop {
    animation: highlight 1.2s ease-out;
}

@keyframes highlight {
    from {
        /* Soft blue pulse instead of light cyan */
        background-color: #dbeafe;
    }

    to {
        background-color: transparent;
    }
}

@media (max-width: 950px) {

    html,
    body {
        overflow-x: hidden;
    }

    header {
        position: fixed !important;
        top: 0;
        z-index: 1001;
        width: 100%;
    }

    header .nav-container {
        justify-content: space-between;
        width: 100%;
        gap: 0;
    }

    header img {
        height: 2.5rem;
    }

    .hamburger-menu {
        position: absolute;
        right: 3.5rem;
        top: 50%;
        transform: translateY(-50%);
        z-index: 2000;
        margin: 0;
    }

    .hamburger-menu.active {
        transform: translateY(-50%) !important;
    }

    .side-by-side-layout {
        display: flex;
        flex-direction: column !important;
        gap: 20px;
        margin: 20px 0;
    }

    .description-column {
        order: 1 !important;
        flex: 0 0 100% !important;
        width: 100%;
    }

    .table-column {
        order: 2 !important;
        flex: 0 0 100% !important;
        width: 100%;
        max-width: 100%;
    }

    .append-only-batch-card-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px;
    }

    .append-only-batch-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border: 1px solid var(--slate-200);
        border-radius: 8px;
        width: 100%;
    }

    .append-only-batch-table {
        min-width: 600px;
        font-size: 0.65rem;
    }

    .append-only-col-batch {
        position: sticky;
        left: 0;
        background: white !important;
        z-index: 5;
        border-right: 2px solid var(--slate-200) !important;
    }

    th.append-only-col-batch {
        background: var(--slate-50) !important;
    }

    .hero-caption {
        margin-top: 5rem;
    }
}