﻿:root {
    
    /* Typography Scale */
    --font-size-hero: 44px;           /* Hero headlines */
    --font-size-h1: 60px;            /* Main headings */
    --font-size-h2: 40px;            /* Section headings */
    --font-size-h3: 28px;            /* Subsection headings */
    --font-size-h5: 13px;            /* Small headings */
    --font-size-base: 14px;          /* Base body text */
    --font-size-nav: 13px;           /* Navigation text */
    --font-size-small: 12px;         /* Small text */
}

/* ===== RESPONSIVE DESIGN FOUNDATION ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 62.5%; /* 1rem = 10px for easier calculations */
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* ===== UTILITY CLASSES ===== */
.main-img {
    max-width: 100%;
    height: auto;
    margin-top: 6rem;
    border-radius: 0.2rem;
    display: block;
}

.container {
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

/* ===== HEADER NAVIGATION ===== */
#top-navigation-cloud {
    background: white;
    box-shadow: 0 0.4rem 2rem rgba(0, 0, 0, 0.05);
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    position: fixed;
    z-index: 999;
    min-height: 6.2rem;
}

#top-navigation-cloud .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
}

/* Arc Brand */
.arc-brand {
    flex-shrink: 0;
}

.arc-brand h5 {
    font-size: 1.6rem;
    font-weight: 300;
    color: #231E20;
    margin: 0;
}

/* Navigation Menu */
.top-navigation {
    display: flex;
    align-items: center;
}

.top-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.top-navigation ul > li {
    position: relative;
}

.top-navigation ul > li a {
    display: block;
    font-size: 1.3rem;
    padding: 1.9rem 1.5rem;
    color: #231E20;
    text-decoration: none;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.top-navigation ul > li a::after {
    content: "";
    width: 100%;
    transform: scaleX(0);
    transition: 0.2s;
    height: 0.2rem;
    background: #00A0FF;
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
}

.top-navigation ul > li:hover > a,
.top-navigation ul > li.active a {
    color: #00A0FF;
}

.top-navigation ul > li:hover > a::after,
.top-navigation ul > li.active a::after {
    transform: scaleX(1);
}

/* Mobile Menu Toggle */
.navbar-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 1rem;
    font-size: 2rem;
    color: #231E20;
}

/* Navigation Buffer */
#top-navigation-cloud-buffer {
    height: 6.2rem;
}

/* ===== HERO SECTIONS ===== */
.integration-hero {
    text-align: center;
    background: #0B59CE;
    background: url(../../../ui/img/home/abstract-fades.svg) no-repeat center, linear-gradient(135deg, #00A0FF 0%, #0B59CE 100%);;
    background-size: cover;
    position: relative;
    color: white;
    border-bottom: 0.1rem solid gainsboro;
    z-index: 0;
    padding: 16rem 4rem;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-section {
    text-align: center;
    margin-bottom: 5rem;
}

.header-section h2 {
    font-size: 4.5rem;
    font-weight: 700;
    color: #002147;
    margin-bottom: 2rem;
    line-height: 1.2;
    background: linear-gradient(135deg, #0B59CE 0%, #00A0FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-section h3 {
    color: #6c757d;
    font-size: 2.5rem;
    font-weight: normal;
    line-height: 1.4;
}

.header-section-white {
    text-align: center;
    margin-bottom: 5rem;
}

.header-section-white h2 {
    color: #f0f0f0;
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.header-section-white h3 {
    color: #f0f0f0;
    font-size: 2.5rem;
    font-weight: normal;
    line-height: 1.4;
}

/* ===== SECTIONS ===== */
.section {
    margin-bottom: 6rem;
    padding: 4rem 0;
    border-bottom: 0.1rem solid #eee;
}

.section h2 {
    color: #231E20;
    margin-bottom: 2rem;
    font-size: 4rem;
    font-weight: 600;
}

.section p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
}

/* ===== CATEGORY TABS ===== */
.category-tabs {
    margin-bottom: 4rem;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin: 3rem 0;
}

.tab-btn {
    background: #ffffff;
    border: 0.2rem solid #e9ecef;
    border-radius: 2.5rem;
    padding: 1.2rem 2.4rem;
    font-size: 1.6rem;
    font-weight: 600;
    color: #495057 !important;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0.2rem 0.8rem rgba(0,0,0,0.08);
    min-width: 10rem;
    text-align: center;
    text-decoration: none;
}

.tab-btn:hover {
    transform: translateY(-0.2rem);
    box-shadow: 0 0.4rem 1.5rem rgba(0,123,255,0.2);
}

.tab-btn.active {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white !important;
    border-color: #007bff;
    box-shadow: 0 0.4rem 2rem rgba(0,123,255,0.3);
}

.tab-btn.active:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    transform: translateY(-0.2rem);
}

/* ===== CONNECTORS GRID ===== */
.connectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.connector-icons {
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 1;
    transform: scale(1);
    width: 100%;
}

.connector-icons.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
    visibility: hidden;
}

.connector-icons .source {
    background: white;
    border-radius: 2rem;
    padding: 3.5rem 2.5rem;
    text-align: center;
    box-shadow: 0 0.6rem 3rem rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    border: 0.2rem solid #f0f0f0;
    height: 16rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}

.connector-icons .source::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0.4rem;
    background: linear-gradient(135deg, #007bff, #0056b3);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.connector-icons .source:hover::before {
    transform: scaleX(1);
}

.connector-icons .source:hover {
    transform: translateY(-1.2rem);
    box-shadow: 0 1.5rem 5rem rgba(0,123,255,0.2);
    border-color: #007bff;
    text-decoration: none;
    color: inherit;
}

.connector-icons .icon {
    width: 8rem;
    height: 8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1.6rem;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.connector-icons .port-icon {
    width: 6rem;
    height: 6rem;
    transition: all 0.3s ease;
}

.connector-icons .small.for {
    font-size: 1.6rem;
    color: #495057;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
}

.connector-icons .source:hover .small.for {
    color: #007bff;
}

.enterprisetag {
    background: linear-gradient(135deg, #ffc107, #ff8c00);
    color: white;
    font-size: 1rem;
    padding: 0.2rem 0.8rem;
    border-radius: 1rem;
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-weight: 600;
}

/* ===== FEATURES SECTION ===== */
.features-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, #f8f9fb 0%, #ffffff 50%, #f0f8ff 100%);
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e9ecef" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.4;
    z-index: 0;
}

.section-header {
    text-align: center;
    margin-bottom: 6rem;
    animation: fadeInUp 0.8s ease-out;
    position: relative;
    z-index: 1;
}

.section-header p {
    font-size: 2.8rem;
    color: #6c757d;
    max-width: 110rem;
    margin: 0 auto;
    font-weight: 300;
    line-height: 1.5;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(35rem, 1fr));
    gap: 3rem;
    margin-top: 5rem;
    position: relative;
    z-index: 1;
}

.feature-card {
    background: white;
    border-radius: 2.4rem;
    padding: 4rem 3rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 1rem 4rem rgba(0, 33, 71, 0.08);
    border: 0.1rem solid rgba(0, 160, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    animation: fadeInUp 0.6s ease-out;
    text-align: center;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0.5rem;
    background: linear-gradient(135deg, #00A0FF, #0B59CE);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-1.5rem);
    box-shadow: 0 2.5rem 6rem rgba(0, 33, 71, 0.15);
    border-color: rgba(0, 160, 255, 0.3);
}

.feature-icon {
    width: 8rem;
    height: 8rem;
    margin: 0 auto 2.5rem;
    background: linear-gradient(135deg, #00A0FF, #0B59CE);
    border-radius: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 0.8rem 2.5rem rgba(0, 160, 255, 0.3);
}

.feature-card:hover .feature-icon {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, #0B59CE, #002147);
}

.feature-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #002147;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.feature-description {
    font-size: 1.4rem;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.feature-link {
    display: inline-flex;
    align-items: center;
    color: #00A0FF;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

.feature-link::after {
    content: ' →';
    margin-left: 0.8rem;
    transition: margin-left 0.3s ease;
}

.feature-link:hover {
    color: #0B59CE;
    text-decoration: none;
}

.feature-link:hover::after {
    margin-left: 1.5rem;
}

/* ===== GET STARTED SECTION ===== */
.get-started-section {
    text-align: center;
    background: #0b59ce;
    background: url(../../../ui/img/home/abstract-fades.svg) no-repeat center, linear-gradient(135deg, #00A0FF 0%, #0B59CE 100%);;
    background-size: cover;
    position: relative;
    color: #fff;
    border-bottom: 0.1rem solid #dcdcdc;
    z-index: 0;
    padding: 8rem 0;
}

.get-started-section .threeSteps {
    text-align: left;
}

.get-started-section .threeSteps p {
    color: black;
    font-size: 1.6rem;
}

.get-started-section .threeSteps h3 {
    color: black;
    font-size: 2.4rem;
}

/* ===== RESOURCES SECTION ===== */
.resources-section {
    background: #fff;
    padding: 8rem 0;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(35rem, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.resource-card {
    background: white;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 0.6rem 3rem rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    border: 0.2rem solid #f0f0f0;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    animation: fadeInUp 0.6s ease-out;
}

.resource-card:nth-child(1) { animation-delay: 0.1s; }
.resource-card:nth-child(2) { animation-delay: 0.2s; }
.resource-card:nth-child(3) { animation-delay: 0.3s; }

.resource-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0.4rem;
    background: linear-gradient(135deg, #007bff, #0056b3);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.resource-card:hover::before {
    transform: scaleX(1);
}

.resource-card:hover {
    transform: translateY(-1rem);
    box-shadow: 0 1.5rem 5rem rgba(0,123,255,0.2);
    border-color: #007bff;
}

.category-tag {
    position: absolute;
    top: 2rem;
    left: 2rem;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    padding: 0.8rem 1.6rem;
    border-radius: 2rem;
    font-size: 1.2rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 0.2rem 1rem rgba(0,123,255,0.3);
}

.resource-image {
    height: 18rem;
    background: linear-gradient(135deg, #f8f9fb 0%, #ffffff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.resource-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.resource-card:hover .resource-image img {
    transform: scale(1.05);
}

.resource-icon {
    width: 7rem;
    height: 7rem;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.8rem;
}

.resource-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.resource-title {
    font-size: 1.9rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.resource-description {
    color: #6c757d;
    font-size: 1.5rem;
    line-height: 1.5;
    margin-bottom: 1.6rem;
    flex: 1;
}

.resource-action {
    margin-top: auto;
}

.resource-btn {
    display: inline-flex;
    align-items: center;
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.resource-btn::after {
    content: ' →';
    margin-left: 0.8rem;
    transition: margin-left 0.3s ease;
}

.resource-btn:hover {
    color: #0056b3;
    text-decoration: none;
}

.resource-btn:hover::after {
    margin-left: 1.2rem;
}

/* ===== CASE STUDY SECTION ===== */
.case-study-section {
    text-align: center;
    background: #0b59ce;
    background: url(../../../ui/img/home/abstract-fades.svg) no-repeat center, linear-gradient(135deg, #00A0FF 0%, #0B59CE 100%);;
    background-size: cover;
    position: relative;
    color: #fff;
    border-bottom: 0.1rem solid #dcdcdc;
    z-index: 0;
    padding: 8rem 0;
}

.case-study-title {
    color: #fff;
    font-size: 4.5rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 2rem;
}

.case-study-subtitle {
    color: #fff;
    font-size: 2.5rem;
    font-weight: normal;
    line-height: 1.5;
    margin-bottom: 4rem;
}

.case-study-image-container {
    margin: 4rem 0 6rem 0;
    display: flex;
    justify-content: center;
}

.case-study-image-card {
    background: white;
    border-radius: 2rem;
    padding: 4rem;
    box-shadow: 0 1.5rem 5rem rgba(0,0,0,0.2);
    transition: all 0.4s ease;
    max-width: 80rem;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.case-study-image-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0.4rem;
    background: linear-gradient(135deg, #007bff, #0056b3);
}

.case-study-image-card:hover {
    transform: translateY(-1rem);
    box-shadow: 0 2.5rem 6rem rgba(0,0,0,0.25);
}

.case-study-image-card img {
    width: 100%;
    height: auto;
    border-radius: 1.2rem;
    transition: transform 0.3s ease;
}

.case-study-image-card:hover img {
    transform: scale(1.02);
}

.case-study-btn {
    display: inline-block;
    background: white;
    color: #007bff;
    padding: 1.5rem 3.5rem;
    border-radius: 2.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.6rem;
    transition: all 0.3s ease;
    box-shadow: 0 0.6rem 2rem rgba(0,0,0,0.1);
    border: 0.2rem solid transparent;
}

.case-study-btn:hover {
    transform: translateY(-0.3rem);
    box-shadow: 0 1rem 3rem rgba(0,0,0,0.15);
    background: #f8f9ff;
    border-color: white;
    color: #0056b3;
    text-decoration: none;
}

.case-study-btn::after {
    content: ' →';
    margin-left: 0.8rem;
    transition: margin-left 0.3s ease;
}

.case-study-btn:hover::after {
    margin-left: 1.2rem;
}

/* ===== UTILITY COMPONENTS ===== */
.benefitsBox {
    min-height: 30rem;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    border-radius: 1rem;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 1rem;
}

.case-study-card {
    background: white;
    border-radius: 0.8rem;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 0.2rem 1rem rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.case-study-card:hover {
    transform: translateY(-0.5rem);
}

.cta-section {
    margin-top: 4rem;
}

.section-header-white {
    text-align: center;
    margin-bottom: 6rem;
    animation: fadeInUp 0.8s ease-out;
    position: relative;
    z-index: 1;
}

.section-header-white h2 {
    color: #ffffff;
    margin-bottom: 2rem;
    font-size: 4rem;
    font-weight: 600;
}

.section-header-white p {
    font-size: 2.8rem;
    color: #ffffff;
    max-width: 110rem;
    margin: 0 auto;
    font-weight: 300;
    line-height: 1.5;
}

.three-steps-carousel {
    padding-top: 6rem;
}

/* Enhanced Video Container */
.video-showcase {
    max-width: 90rem;
    margin: 0 auto 6rem auto;
    position: relative;
}

.video-preview-card {
    background: white;
    border-radius: 2.4rem;
    padding: 2rem;
    box-shadow: 0 2.5rem 6rem rgba(0, 0, 0, 0.25);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.video-preview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0.6rem;
    background: linear-gradient(135deg, #00A0FF, #9747FF);
}

.video-preview-card:hover {
    transform: translateY(-1rem);
    box-shadow: 0 3.5rem 8rem rgba(0, 0, 0, 0.3);
}

.video-thumbnail-container {
    position: relative;
    border-radius: 1.6rem;
    overflow: hidden;
    cursor: pointer;
    background: #f8f9fb;
}

.video-thumbnail {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.video-thumbnail-container:hover .video-thumbnail {
    transform: scale(1.02);
}

.play-button-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12rem;
    height: 12rem;
    background: rgba(0, 160, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 1rem 3rem rgba(0, 160, 255, 0.4);
}

.play-button-overlay:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(0, 160, 255, 1);
    box-shadow: 0 1.5rem 4rem rgba(0, 160, 255, 0.6);
}

.play-icon {
    width: 0;
    height: 0;
    border-left: 3rem solid white;
    border-top: 2rem solid transparent;
    border-bottom: 2rem solid transparent;
    margin-left: 0.8rem;
}

.video-duration-badge {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 2rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.video-info {
    padding: 3rem 2rem 2rem 2rem;
    text-align: left;
}

.video-title {
    font-size: 2.4rem;
    font-weight: 600;
    color: #002147;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.video-description {
    color: #6c757d;
    font-size: 1.6rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.video-features {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
}

.video-feature {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #00A0FF;
    font-size: 1.4rem;
    font-weight: 600;
}

.video-feature-icon {
    width: 2rem;
    height: 2rem;
    background: #00A0FF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

/* Video iframe (hidden initially) */
.video-iframe-container {
    display: none;
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 1.6rem;
}

.video-iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 1.6rem;
}

.video-iframe-container.active {
    display: block;
}

.video-thumbnail-container.hidden {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .section-header-white h2 {
        font-size: 3rem;
    }
    
    .section-header-white p {
        font-size: 2rem;
    }
    
    .play-button-overlay {
        width: 10rem;
        height: 10rem;
    }
    
    .play-icon {
        border-left: 2.5rem solid white;
        border-top: 1.5rem solid transparent;
        border-bottom: 1.5rem solid transparent;
    }
    
    .video-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .video-info {
        padding: 2rem 1rem;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(4rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-2rem) rotate(180deg);
    }
}

/* ===== RESPONSIVE BREAKPOINTS ===== */

/* Extra Large Devices (1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 140rem;
    }
    
    .header-section h2 {
        font-size: 5.5rem;
    }
    
    .header-section h3 {
        font-size: 3rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Large Devices (1200px to 1399px) */
@media (max-width: 1399px) {
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(32rem, 1fr));
    }
    
    .connectors-grid {
        grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
    }
}

/* Medium Large Devices (992px to 1199px) */
@media (max-width: 1199px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .header-section h2 {
        font-size: 3.8rem;
    }
    
    .header-section h3 {
        font-size: 2.2rem;
    }
    
    .case-study-title {
        font-size: 3.8rem;
    }
    
    .case-study-subtitle {
        font-size: 2.2rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
    
    .resources-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Medium Devices (768px to 991px) - Tablets */
@media (max-width: 991px) {
    html {
        font-size: 57.5%; /* Slightly smaller base font */
    }
    
    .integration-hero {
        padding: 12rem 3rem;
        min-height: 50vh;
    }
    
    .features-section,
    .get-started-section,
    .resources-section,
    .case-study-section {
        padding: 6rem 0;
    }
    
    .header-section h2 {
        font-size: 3.5rem;
    }
    
    .header-section h3 {
        font-size: 2rem;
    }
    
    .section-header p {
        font-size: 2.4rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .feature-card {
        padding: 3rem 2.5rem;
        border-radius: 2rem;
    }
    
    .resources-grid {
        grid-template-columns: 1fr;
    }
    
    .connectors-grid {
        grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
        gap: 2.5rem;
    }
    
    .case-study-image-card {
        padding: 3rem;
    }
}

/* Small Medium Devices (640px to 767px) */
@media (max-width: 767px) {
    /* Navigation adjustments */
    #top-navigation-cloud .container {
        flex-direction: column;
        align-items: center;
        padding: 1rem;
    }
    
    .arc-brand {
        margin-bottom: 1rem;
    }
    
    .top-navigation ul {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.2rem;
    }
    
    .top-navigation ul > li a {
        padding: 1rem 0.8rem;
        font-size: 1.2rem;
    }
    
    #top-navigation-cloud-buffer {
        height: 8rem;
    }
    
    /* Hero section */
    .integration-hero {
        padding: 10rem 2rem;
        min-height: 45vh;
    }
    
    .header-section h2 {
        font-size: 3rem;
    }
    
    .header-section h3 {
        font-size: 1.8rem;
    }
    
    .header-section-white h2 {
        font-size: 3rem;
    }
    
    .header-section-white h3 {
        font-size: 1.8rem;
    }
    
    .case-study-title {
        font-size: 3rem;
    }
    
    .case-study-subtitle {
        font-size: 1.8rem;
    }
    
    /* Sections */
    .features-section,
    .get-started-section,
    .resources-section,
    .case-study-section {
        padding: 5rem 0;
    }
    
    .section-header p {
        font-size: 2rem;
    }
    
    /* Cards */
    .feature-card {
        padding: 2.5rem 2rem;
    }
    
    .feature-icon {
        width: 7rem;
        height: 7rem;
        font-size: 2rem;
    }
    
    .connector-icons .source {
        height: 14rem;
        padding: 2.5rem 2rem;
    }
    
    .connector-icons .icon {
        width: 6rem;
        height: 6rem;
    }
    
    .connector-icons .port-icon {
        width: 4.5rem;
        height: 4.5rem;
    }
    
    .connector-icons .small.for {
        font-size: 1.4rem;
    }
    
    /* Tabs */
    .tab-buttons {
        gap: 0.8rem;
    }
    
    .tab-btn {
        padding: 1rem 1.8rem;
        font-size: 1.4rem;
        min-width: 8rem;
    }
    
    /* Grid adjustments */
    .connectors-grid {
        grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
        gap: 2rem;
    }
    
    .case-study-image-card {
        padding: 2.5rem;
        border-radius: 1.6rem;
    }
    
    .case-study-btn {
        padding: 1.2rem 2.8rem;
        font-size: 1.4rem;
    }
}

/* Small Devices (480px to 639px) */
@media (max-width: 639px) {
    html {
        font-size: 55%; /* Smaller base font for mobile */
    }
    
    .container {
        padding: 0 1rem;
    }
    
    /* Navigation mobile optimization */
    .top-navigation ul > li a {
        padding: 0.8rem 0.6rem;
        font-size: 1.1rem;
    }
    
    #top-navigation-cloud-buffer {
        height: 9rem;
    }
    
    /* Hero section mobile */
    .integration-hero {
        padding: 8rem 1.5rem;
        min-height: 40vh;
    }
    
    .header-section h2 {
        font-size: 2.5rem;
        line-height: 1.3;
    }
    
    .header-section h3 {
        font-size: 1.6rem;
    }
    
    .case-study-title {
        font-size: 2.5rem;
    }
    
    .case-study-subtitle {
        font-size: 1.6rem;
    }
    
    /* Sections mobile */
    .features-section,
    .get-started-section,
    .resources-section,
    .case-study-section {
        padding: 4rem 0;
    }
    
    .section-header p {
        font-size: 1.8rem;
    }
    
    /* Cards mobile */
    .feature-card {
        padding: 2rem 1.5rem;
    }
    
    .connector-icons .source {
        height: 12rem;
        padding: 2rem 1.5rem;
    }
    
    .connectors-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    /* Tabs mobile */
    .tab-btn {
        padding: 0.8rem 1.4rem;
        font-size: 1.3rem;
        min-width: 7rem;
    }
    
    .case-study-image-card {
        padding: 2rem;
        border-radius: 1.2rem;
    }
    
    .resource-content {
        padding: 1.5rem;
    }
}

/* Extra Small Devices (below 480px) */
@media (max-width: 479px) {
    html {
        font-size: 52.5%; /* Smallest base font */
    }
    
    /* Navigation extra small */
    .top-navigation ul > li a {
        padding: 0.8rem 0.4rem;
        font-size: 1rem;
    }
    
    #top-navigation-cloud-buffer {
        height: 10rem;
    }
    
    /* Hero extra small */
    .integration-hero {
        padding: 6rem 1rem;
    }
    
    .header-section h2 {
        font-size: 2.2rem;
    }
    
    .header-section h3 {
        font-size: 1.4rem;
    }
    
    /* Sections extra small */
    .features-section,
    .get-started-section,
    .resources-section,
    .case-study-section {
        padding: 3rem 0;
    }
    
    /* Cards extra small */
    .feature-card {
        padding: 1.5rem 1rem;
    }
    
    .feature-icon {
        width: 6rem;
        height: 6rem;
        font-size: 1.8rem;
    }
    
    .connector-icons .source {
        height: 10rem;
        padding: 1.5rem 1rem;
    }
    
    .connector-icons .icon {
        width: 5rem;
        height: 5rem;
    }
    
    .connector-icons .port-icon {
        width: 3.5rem;
        height: 3.5rem;
    }
    
    .connectors-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    /* Tabs extra small */
    .tab-btn {
        padding: 0.7rem 1.2rem;
        font-size: 1.2rem;
        min-width: 6rem;
    }
    
    .case-study-image-card {
        padding: 1.5rem;
    }
    
    .case-study-btn {
        padding: 1rem 2rem;
        font-size: 1.3rem;
    }
}

/* ===== ACCESSIBILITY & PERFORMANCE ===== */

/* Focus states */
.tab-btn:focus,
.connector-icons .source:focus,
.feature-card:focus,
.resource-card:focus {
    outline: 0.3rem solid #00A0FF;
    outline-offset: 0.5rem;
}

.feature-link:focus,
.resource-btn:focus,
.case-study-btn:focus {
    outline: 0.2rem solid #00A0FF;
    outline-offset: 0.3rem;
    border-radius: 0.4rem;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .feature-card,
    .feature-icon,
    .connector-icons .source,
    .resource-card {
        animation: none;
        transition: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .tab-btn,
    .feature-card,
    .connector-icons .source,
    .resource-card {
        border-width: 0.3rem;
    }
    
    .feature-link,
    .resource-btn,
    .case-study-btn {
        text-decoration: underline;
    }
}

/* Print styles */
@media print {
    .navbar-toggle,
    #top-navigation-cloud,
    .floating-element {
        display: none;
    }
    
    .integration-hero,
    .get-started-section,
    .case-study-section {
        background: white !important;
        color: black !important;
    }
    
    .header-section-white h2,
    .header-section-white h3,
    .case-study-title,
    .case-study-subtitle {
        color: black !important;
    }
}