
/* =========================================
   HAYAVO MEET
   VIDEO CONFERENCE API STYLESHEET
========================================= */

: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;
}


/* =========================================
   MEETING INTERFACE PREVIEW
========================================= */

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

.meeting-window {
    background: #111c32;

    border-radius: 14px;
    overflow: hidden;

    box-shadow: 0 30px 70px rgba(5, 50, 110, 0.18);

    transform: rotate(-1deg);
}

.meeting-header {
    background: #17243d;

    min-height: 48px;
    padding: 12px 16px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    color: white;
    font-size: 12px;
}

.meeting-header-left {
    display: flex;
    align-items: center;
    gap: 9px;

    font-weight: 700;
}

.meeting-status {
    width: 8px;
    height: 8px;

    background: #28c98b;
    border-radius: 50%;
}

.meeting-duration {
    color: #a9bbd6;
    font-size: 11px;
}

.participant-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 6px;
    padding: 8px;
}

.participant {
    min-height: 155px;

    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-direction: column;
    gap: 12px;

    border-radius: 6px;
    overflow: hidden;
}

.participant-one {
    background: linear-gradient(140deg, #a7c7ec, #365f93);
}

.participant-two {
    background: linear-gradient(140deg, #e7bda7, #8b5361);
}

.participant-three {
    background: linear-gradient(140deg, #b3d8d3, #477e8b);
}

.participant-four {
    background: linear-gradient(140deg, #d4c3ed, #76558e);
}

.participant-avatar {
    width: 55px;
    height: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255, 255, 255, 0.85);
    color: #253b60;

    border-radius: 50%;

    font-size: 22px;
    font-weight: 800;
}

.participant > span {
    color: white;
    font-size: 11px;
    font-weight: 700;
}

.meeting-toolbar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    gap: 8px;
    padding: 15px;
}

.toolbar-item {
    background: #293952;
    color: white;

    padding: 8px 11px;
    border-radius: 20px;

    font-size: 10px;
    font-weight: 600;
}

.toolbar-end {
    background: #e83b49;
}

.meeting-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;

    margin-bottom: 20px;
}

.feature-card a {
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
}


/* =========================================
   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;
}


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

.integration-section {
    background: white;
}

.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: 25px;
}

.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;
}


/* =========================================
   COMPARISON TABLE
========================================= */

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

.comparison-table-wrapper {
    width: 100%;
    overflow-x: auto;

    border: 1px solid var(--border);
    border-radius: 10px;

    background: white;
}

.comparison-table {
    width: 100%;
    min-width: 620px;

    border-collapse: collapse;
    text-align: left;
}

.comparison-table th,
.comparison-table td {
    padding: 17px 20px;

    border-bottom: 1px solid var(--border);

    font-size: 13px;
    vertical-align: top;
}

.comparison-table th {
    background: #eef5ff;
    color: var(--heading);

    font-weight: 800;
}

.comparison-table td {
    color: var(--text);
}

.comparison-table td:first-child {
    color: var(--heading);
    font-weight: 700;
}

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


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

.related-section {
    background: white;
}

.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: var(--background);
}

.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-top: 22px;
    padding-bottom: 22px;
}

.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;
    }

    .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;
    }

    .participant {
        min-height: 115px;
    }

    .participant-avatar {
        width: 43px;
        height: 43px;
        font-size: 18px;
    }

    .meeting-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 {
        grid-template-columns: 1fr;
    }

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

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

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

    .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;
    }

}
