
/* =========================================
   HAYAVO MEET
   SCREEN SHARING API
========================================= */

:root {
    --primary: #0866e9;
    --primary-dark: #064bb8;
    --primary-light: #eaf3ff;
    --heading: #101d3a;
    --text: #52617a;
    --white: #ffffff;
    --border: #e5ebf3;
    --background: #f7faff;
    --container: 1200px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--heading);
    line-height: 1.7;
    background: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(var(--container), calc(100% - 48px));
    margin: 0 auto;
}

.narrow-container {
    max-width: 900px;
}


/* =========================================
   HEADER
========================================= */

.site-header {
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
}

.header-container {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 23px;
    font-weight: 750;
    white-space: nowrap;
}

.brand img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.brand strong {
    color: var(--primary);
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 25px;
}

.main-navigation > a,
.nav-dropdown-trigger {
    font-size: 14px;
    font-weight: 600;
    color: var(--heading);
    transition: color 0.2s;
}

.main-navigation a:hover,
.nav-dropdown-trigger:hover {
    color: var(--primary);
}

.nav-contact {
    background: var(--primary);
    color: white !important;
    padding: 10px 18px;
    border-radius: 7px;
}

.nav-contact:hover {
    background: var(--primary-dark);
}

.menu-toggle {
    display: none;
    border: 1px solid var(--border);
    background: white;
    border-radius: 7px;
    padding: 9px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 23px;
    height: 2px;
    margin: 5px 0;
    background: var(--heading);
}


/* =========================================
   PRODUCT DROPDOWN
========================================= */

.nav-dropdown {
    position: relative;
}

.nav-dropdown-trigger {
    border: 0;
    background: transparent;
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: -15px;
    width: 250px;
    padding: 12px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(10, 30, 70, 0.10);
    display: none;
}

.dropdown-menu a {
    display: block;
    padding: 9px 10px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 5px;
}

.dropdown-menu a:hover,
.dropdown-menu a[aria-current="page"] {
    background: var(--primary-light);
    color: var(--primary);
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
    display: block;
}


/* =========================================
   HERO SECTION
========================================= */

.hero-section {
    background:
        radial-gradient(circle at 90% 20%, #d8ebff, transparent 35%),
        linear-gradient(130deg, #f2f8ff, #ffffff 60%, #edf5ff);
    padding: 85px 0;
    border-bottom: 1px solid var(--border);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 55px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 13px;
    color: var(--text);
    margin-bottom: 25px;
}

.breadcrumb a:hover {
    color: var(--primary);
}

.section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.4px;
    color: var(--primary);
    margin-bottom: 15px;
}

.hero-content h1 {
    font-size: clamp(36px, 4.5vw, 56px);
    line-height: 1.13;
    letter-spacing: -1.8px;
    margin-bottom: 24px;
}

.hero-description {
    color: var(--text);
    font-size: 17px;
    line-height: 1.85;
    max-width: 680px;
}

.hero-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.2s ease;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background: white;
    border: 1px solid #cbd8eb;
    color: var(--heading);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
    color: var(--text);
    font-size: 12px;
    font-weight: 600;
}


/* =========================================
   SCREEN SHARING VISUAL
========================================= */

.hero-visual {
    position: relative;
    padding: 15px;
}

.screen-window {
    background: #101d35;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(5, 50, 110, 0.18);
    transform: rotate(-1deg);
}

.screen-window-header {
    background: #192a48;
    min-height: 52px;
    padding: 13px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: white;
    font-size: 11px;
    font-weight: 700;
}

.window-controls {
    display: flex;
    gap: 5px;
}

.window-controls span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #ff716d;
}

.window-controls span:nth-child(2) {
    background: #ffca58;
}

.window-controls span:nth-child(3) {
    background: #52cf91;
}

.live-status {
    color: #5ce3ad;
    font-size: 9px;
    white-space: nowrap;
}

.screen-content {
    min-height: 350px;
    display: grid;
    grid-template-columns: 0.75fr 1.5fr;
}

.presentation-sidebar {
    padding: 22px 12px;
    background: #172945;
    color: white;
}

.sidebar-title {
    display: block;
    color: #9db2d0;
    font-size: 10px;
    font-weight: 700;
    margin-bottom: 20px;
}

.participant {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
}

.participant strong {
    display: block;
    font-size: 10px;
}

.participant small {
    color: #a9bddb;
    font-size: 9px;
}

.participant-avatar {
    min-width: 31px;
    height: 31px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 9px;
    font-weight: 800;
}

.avatar-one {
    background: #357bdc;
}

.avatar-two {
    background: #a45bce;
}

.avatar-three {
    background: #c47d42;
}

.presentation-area {
    padding: 18px;
    background: #263c5b;
}

.presentation-label {
    color: #b9cbe3;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.presentation-document {
    min-height: 250px;
    padding: 25px 17px;
    background: #ffffff;
    border-radius: 5px;
    overflow: hidden;
}

.presentation-document > span {
    color: var(--primary);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
}

.presentation-document h2 {
    font-size: clamp(15px, 2vw, 21px);
    line-height: 1.3;
    margin-top: 12px;
    margin-bottom: 8px;
}

.presentation-document p {
    font-size: 10px;
    color: var(--text);
}

.presentation-lines {
    margin-top: 15px;
}

.presentation-lines span {
    display: block;
    height: 4px;
    background: #e7edf6;
    border-radius: 5px;
    margin: 7px 0;
}

.presentation-lines span:nth-child(1) {
    width: 90%;
}

.presentation-lines span:nth-child(2) {
    width: 75%;
}

.presentation-lines span:nth-child(3) {
    width: 55%;
}

.presentation-chart {
    height: 65px;
    margin-top: 15px;
    display: flex;
    align-items: flex-end;
    gap: 9px;
    border-bottom: 1px solid #e5ebf3;
}

.presentation-chart div {
    flex: 1;
    background: linear-gradient(180deg, #62aaff, #1763db);
    border-radius: 3px 3px 0 0;
}

.screen-window-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 18px;
    background: #192a48;
    color: #b9cbe3;
    font-size: 10px;
}

.sharing-indicator {
    color: #5ce3ad;
    font-weight: 700;
}

.hero-caption {
    position: absolute;
    bottom: -5px;
    right: 0;
    padding: 11px 18px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}


/* =========================================
   GENERAL SECTIONS
========================================= */

.section {
    padding: 85px 0;
}

.section-heading {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 45px;
}

.section-heading h2,
.introduction-section h2 {
    font-size: clamp(28px, 3.5vw, 39px);
    line-height: 1.25;
    letter-spacing: -1px;
    margin-bottom: 18px;
}

.section-heading p,
.introduction-section p {
    color: var(--text);
    font-size: 16px;
    line-height: 1.85;
}

.introduction-section {
    text-align: center;
}

.introduction-section p {
    margin-bottom: 18px;
}


/* =========================================
   FEATURES
========================================= */

.features-section {
    background: var(--background);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.feature-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px;
    transition: all 0.25s ease;
}

.feature-card:hover {
    border-color: #9abcf3;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(10, 60, 130, 0.07);
}

.feature-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 9px;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 22px;
}

.feature-card h3 {
    font-size: 19px;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text);
    font-size: 14px;
    line-height: 1.8;
}


/* =========================================
   WORKFLOW
========================================= */

.workflow-section {
    background: white;
}

.workflow-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.workflow-card {
    padding: 25px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: white;
}

.workflow-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 9px;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 20px;
}

.workflow-card h3 {
    font-size: 17px;
    margin-bottom: 12px;
}

.workflow-card p {
    color: var(--text);
    font-size: 14px;
    line-height: 1.8;
}


/* =========================================
   USE CASES
========================================= */

.use-cases-section {
    background: var(--background);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.use-case-card {
    padding: 25px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: white;
}

.use-case-card h3 {
    font-size: 17px;
    margin-bottom: 12px;
}

.use-case-card p {
    color: var(--text);
    font-size: 14px;
    line-height: 1.8;
}


/* =========================================
   COMMUNICATION SECTION
========================================= */

.communication-section {
    background: white;
}

.communication-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 55px;
}

.communication-content h2 {
    font-size: 36px;
    line-height: 1.25;
    margin-bottom: 20px;
}

.communication-content p {
    color: var(--text);
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 18px;
}

.communication-content .btn {
    margin-top: 10px;
}

.communication-panel {
    padding: 10px 25px;
    background: #f8faff;
    border: 1px solid var(--border);
    border-radius: 12px;
}

.communication-panel-header {
    padding: 20px 0;
    font-size: 17px;
    font-weight: 800;
    border-bottom: 1px solid var(--border);
}

.communication-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 19px 0;
    border-bottom: 1px solid var(--border);
}

.communication-feature:last-child {
    border-bottom: none;
}

.communication-icon {
    min-width: 39px;
    height: 39px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 800;
}

.communication-feature h3 {
    font-size: 15px;
    margin-bottom: 5px;
}

.communication-feature p {
    color: var(--text);
    font-size: 13px;
}


/* =========================================
   DEVELOPER INTEGRATION
========================================= */

.integration-section {
    background: var(--background);
}

.integration-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 55px;
}

.integration-content h2 {
    font-size: 36px;
    line-height: 1.25;
    margin-bottom: 20px;
}

.integration-content p {
    color: var(--text);
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 20px;
}

.integration-panel {
    background: #101d35;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(10, 30, 60, 0.13);
}

.integration-panel-header {
    background: #1b2a47;
    color: white;
    padding: 14px 20px;
    font-size: 13px;
    font-weight: 700;
}

.integration-panel pre {
    padding: 25px;
    overflow-x: auto;
    color: #d5e5ff;
    font-size: 13px;
    line-height: 1.9;
}

.integration-panel > p {
    padding: 0 20px 20px;
    color: #a9bddb;
    font-size: 12px;
}


/* =========================================
   BROWSER COMPATIBILITY
========================================= */

.compatibility-section {
    background: white;
}

.compatibility-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.compatibility-card {
    padding: 27px;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 10px;
}

.compatibility-card h3 {
    font-size: 17px;
    margin-bottom: 12px;
}

.compatibility-card p {
    color: var(--text);
    font-size: 14px;
    line-height: 1.8;
}


/* =========================================
   RELATED PRODUCTS
========================================= */

.related-section {
    background: var(--background);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.related-card {
    display: block;
    padding: 25px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 10px;
    transition: all 0.2s ease;
}

.related-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

.related-card h3 {
    color: var(--heading);
    font-size: 17px;
    margin-bottom: 10px;
}

.related-card p {
    color: var(--text);
    font-size: 14px;
    line-height: 1.8;
}


/* =========================================
   FAQ
========================================= */

.faq-section {
    background: white;
}

.faq-list {
    border-top: 1px solid var(--border);
}

.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
}

.faq-item summary {
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 30px;
    font-size: 16px;
    font-weight: 700;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: -3px;
    font-size: 24px;
    color: var(--primary);
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item p {
    padding-top: 14px;
    color: var(--text);
    font-size: 14px;
    line-height: 1.9;
}

.faq-item p a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: underline;
}


/* =========================================
   FINAL CTA
========================================= */

.final-cta {
    padding: 75px 0;
    text-align: center;
    background: linear-gradient(120deg, #0751ca, #0879f5);
    color: white;
}

.cta-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #d6e7ff;
    margin-bottom: 15px;
}

.final-cta h2 {
    font-size: clamp(27px, 3.5vw, 40px);
    line-height: 1.3;
    margin-bottom: 16px;
}

.final-cta p {
    color: #e2edff;
    font-size: 16px;
    max-width: 700px;
    margin: 0 auto;
}

.final-cta .hero-buttons {
    justify-content: center;
}

.btn-white {
    background: white;
    color: var(--primary);
}

.btn-cta-outline {
    border: 1px solid rgba(255,255,255,0.65);
    color: white;
}

.btn-cta-outline:hover {
    background: white;
    color: var(--primary);
}


/* =========================================
   FOOTER
========================================= */

.site-footer {
    background: #0b1935;
    color: white;
    padding-top: 65px;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 45px;
    padding-bottom: 45px;
}

.footer-logo {
    display: inline-block;
    font-size: 23px;
    font-weight: 800;
    margin-bottom: 15px;
}

.footer-logo strong {
    color: #4d9bff;
}

.footer-brand-section p {
    max-width: 310px;
    color: #aebbd1;
    font-size: 14px;
    margin-bottom: 18px;
}

.parent-company {
    color: #77b2ff;
    font-size: 13px;
    font-weight: 700;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column h3 {
    font-size: 15px;
    margin-bottom: 8px;
}

.footer-column a {
    color: #aebbd1;
    font-size: 13px;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    border-top: 1px solid #263753;
    padding: 22px 0;
}

.footer-bottom p {
    color: #aebbd1;
    font-size: 12px;
}

.footer-bottom a {
    color: white;
}


/* =========================================
   TABLET RESPONSIVENESS
========================================= */

@media (max-width: 1050px) {

    .main-navigation {
        gap: 14px;
    }

    .main-navigation > a,
    .nav-dropdown-trigger {
        font-size: 12px;
    }

    .hero-container {
        gap: 30px;
    }

    .hero-content h1 {
        font-size: 43px;
    }

    .features-grid,
    .use-cases-grid,
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .workflow-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-container {
        gap: 25px;
    }

}


/* =========================================
   MOBILE NAVIGATION
========================================= */

@media (max-width: 800px) {

    .header-container {
        min-height: 68px;
    }

    .menu-toggle {
        display: block;
    }

    .main-navigation {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        padding: 22px 24px;
        background: white;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 15px 25px rgba(0,0,0,0.06);
        flex-direction: column;
        align-items: flex-start;
        gap: 19px;
    }

    .main-navigation.active {
        display: flex;
    }

    .nav-dropdown {
        width: 100%;
    }

    .nav-dropdown-trigger {
        font-size: 14px;
    }

    .dropdown-menu {
        display: none;
        position: static;
        width: 100%;
        box-shadow: none;
        border: none;
        padding-left: 15px;
    }

    .nav-dropdown.open .dropdown-menu {
        display: block;
    }

    .hero-section {
        padding: 65px 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        max-width: 550px;
        width: 100%;
        margin: 20px auto 0;
    }

    .communication-container,
    .integration-container {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 550px) {

    .container {
        width: calc(100% - 32px);
    }

    .brand {
        font-size: 19px;
    }

    .brand img {
        width: 36px;
        height: 36px;
    }

    .hero-section {
        padding: 45px 0;
    }

    .hero-content h1 {
        font-size: 34px;
        letter-spacing: -1px;
    }

    .hero-description {
        font-size: 15px;
    }

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

    .btn {
        width: 100%;
    }

    .hero-highlights {
        flex-direction: column;
        gap: 8px;
    }

    .screen-content {
        grid-template-columns: 1fr;
    }

    .presentation-sidebar {
        display: none;
    }

    .presentation-area {
        padding: 12px;
    }

    .presentation-document {
        min-height: 230px;
        padding: 22px 14px;
    }

    .hero-caption {
        position: static;
        margin-top: 12px;
        text-align: center;
    }

    .section {
        padding: 60px 0;
    }

    .section-heading h2,
    .introduction-section h2 {
        font-size: 28px;
    }

    .features-grid,
    .workflow-grid,
    .use-cases-grid,
    .related-grid,
    .compatibility-content {
        grid-template-columns: 1fr;
    }

    .feature-card,
    .workflow-card,
    .use-case-card,
    .related-card,
    .compatibility-card {
        padding: 22px;
    }

    .communication-content h2,
    .integration-content h2 {
        font-size: 29px;
    }

    .integration-panel pre {
        padding: 18px;
        font-size: 11px;
    }

    .communication-panel {
        padding: 8px 18px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .final-cta {
        padding: 55px 0;
    }

}


/* =========================================
   ACCESSIBILITY
========================================= */

a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 3px solid #79b4ff;
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }

}
