
/* =========================================
   Hayavo Meet - Live Streaming API
   ========================================= */

:root {
    --primary: #0768f7;
    --primary-dark: #0454d0;
    --dark: #111827;
    --text: #4b5563;
    --muted: #6b7280;
    --light: #f7f9fc;
    --border: #e5eaf1;
    --white: #ffffff;
    --radius: 16px;
    --shadow: 0 15px 45px rgba(15, 35, 70, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Inter, Arial, Helvetica, sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

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

button {
    font: inherit;
}

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

.container {
    width: min(1160px, calc(100% - 40px));
    margin-inline: auto;
}

.section-padding {
    padding: 100px 0;
}

/* Buttons */

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

.btn-primary {
    color: var(--white);
    background: var(--primary);
    border: 1px solid var(--primary);
}

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

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

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

.btn-white {
    background: var(--white);
    color: var(--primary);
    border: 1px solid var(--white);
}

.btn-white:hover {
    background: #edf4ff;
    transform: translateY(-2px);
}

.btn-transparent {
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.btn-transparent:hover {
    background: rgba(255, 255, 255, 0.12);
}

/* Header */

.site-header {
    height: 76px;
    background: var(--white);
    border-bottom: 1px solid #edf0f5;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--dark);
    font-size: 21px;
    font-weight: 800;
    white-space: nowrap;
}

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

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

.main-navigation {
    display: flex;
    align-items: center;
    gap: 27px;
    height: 100%;
}

.main-navigation > a,
.dropdown-toggle {
    color: #374151;
    font-size: 13px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.main-navigation > a:hover,
.dropdown-toggle:hover,
.main-navigation a[aria-current="page"] {
    color: var(--primary);
}

.nav-login {
    margin-left: 3px;
}

.nav-cta {
    min-height: 41px;
    padding: 9px 17px;
}

.nav-dropdown {
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
}

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

.dropdown-arrow {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin: 0 0 3px 7px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
}

.dropdown-menu {
    position: absolute;
    top: 66px;
    left: -20px;
    width: 245px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--white);
    box-shadow: var(--shadow);
    display: none;
}

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

.dropdown-menu a {
    display: block;
    padding: 10px 12px;
    border-radius: 6px;
    color: #374151;
    font-size: 13px;
}

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

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--white);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 19px;
    height: 2px;
    margin: 4px auto;
    background: var(--dark);
}

/* Hero */

.hero-section {
    overflow: hidden;
    padding: 85px 0 95px;
    background:
        radial-gradient(circle at 85% 20%, rgba(7, 104, 247, 0.09), transparent 28%),
        linear-gradient(120deg, #f8fbff 0%, #ffffff 60%, #f3f7ff 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 0.95fr;
    align-items: center;
    gap: 70px;
}

.eyebrow,
.section-label {
    color: var(--primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 22px;
}

.eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 5px rgba(7, 104, 247, 0.1);
}

.hero-content h1 {
    max-width: 620px;
    font-size: clamp(37px, 4.5vw, 55px);
    line-height: 1.14;
    letter-spacing: -2px;
    font-weight: 800;
}

.hero-content h1 span {
    color: var(--primary);
}

.hero-description {
    max-width: 570px;
    margin-top: 24px;
    color: var(--text);
    font-size: 16px;
    line-height: 1.85;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 28px;
}

.hero-highlights span {
    color: #536174;
    font-size: 11px;
    font-weight: 600;
}

.hero-highlights span::before {
    content: "✓";
    color: var(--primary);
    margin-right: 6px;
    font-weight: 800;
}

/* Streaming preview */

.streaming-visual {
    position: relative;
    min-width: 0;
    padding: 25px 10px;
}

.stream-window {
    width: 100%;
    max-width: 470px;
    margin: auto;
    overflow: hidden;
    border: 1px solid #e2e8f1;
    border-radius: 17px;
    background: var(--white);
    box-shadow: 0 25px 65px rgba(27, 55, 100, 0.13);
    transform: rotate(1deg);
}

.stream-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 19px;
    border-bottom: 1px solid #edf0f5;
}

.stream-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    font-weight: 800;
}

.stream-brand-mark {
    display: grid;
    place-items: center;
    width: 29px;
    height: 29px;
    border-radius: 8px;
    background: var(--primary);
    color: var(--white);
}

.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 9px;
    border-radius: 20px;
    background: #fff0ef;
    color: #d94841;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.live-indicator span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #e34c45;
}

.stream-screen {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 280px;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 50% 45%, rgba(35, 115, 230, 0.45), transparent 45%),
        linear-gradient(135deg, #0c1c37, #152f59 55%, #07152a);
}

.screen-glow {
    position: absolute;
    width: 250px;
    height: 250px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 50%;
    box-shadow:
        0 0 0 35px rgba(255, 255, 255, 0.025),
        0 0 0 70px rgba(255, 255, 255, 0.02);
}

.screen-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--white);
    text-align: center;
}

.screen-play {
    display: grid;
    place-items: center;
    width: 66px;
    height: 66px;
    margin-bottom: 18px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    font-size: 12px;
    font-weight: 800;
    backdrop-filter: blur(8px);
}

.screen-content strong {
    font-size: 17px;
}

.screen-content small {
    margin-top: 5px;
    color: #bdcde4;
    font-size: 10px;
}

.screen-controls {
    position: absolute;
    right: 14px;
    bottom: 13px;
    left: 14px;
    display: flex;
    justify-content: space-between;
    color: #d5e5ff;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.6px;
}

.stream-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 19px;
}

.stream-footer-info strong,
.stream-footer-info small {
    display: block;
}

.stream-footer-info strong {
    font-size: 12px;
}

.stream-footer-info small {
    color: var(--muted);
    font-size: 9px;
}

.viewer-count {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #68778c;
    font-size: 9px;
    font-weight: 700;
}

.viewer-count span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22a06b;
}

.floating-platform {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 11px 14px;
    border: 1px solid #edf0f5;
    border-radius: 9px;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(20, 40, 70, 0.09);
    color: #344054;
    font-size: 10px;
    font-weight: 700;
}

.platform-top {
    top: 5px;
    right: -5px;
}

.platform-bottom {
    bottom: 4px;
    left: -12px;
}

.platform-symbol {
    display: grid;
    place-items: center;
    width: 27px;
    height: 27px;
    border-radius: 6px;
    background: #edf4ff;
    color: var(--primary);
    font-size: 9px;
}

/* Intro and section headings */

.intro-section {
    padding-top: 90px;
    padding-bottom: 90px;
}

.intro-container {
    max-width: 850px;
    text-align: center;
}

.intro-container h2,
.section-heading h2,
.content-text h2,
.developer-content h2 {
    margin-top: 13px;
    font-size: clamp(29px, 3.2vw, 39px);
    line-height: 1.25;
    letter-spacing: -1px;
    font-weight: 800;
}

.intro-container p {
    margin-top: 19px;
    color: var(--text);
    font-size: 15px;
    line-height: 1.9;
}

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

.section-heading p {
    margin-top: 15px;
    color: var(--text);
    font-size: 14px;
    line-height: 1.8;
}

/* Features */

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

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

.feature-card {
    padding: 29px 25px;
    border: 1px solid #e9edf4;
    border-radius: var(--radius);
    background: var(--white);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.feature-icon {
    display: grid;
    place-items: center;
    width: 47px;
    height: 47px;
    margin-bottom: 20px;
    border-radius: 11px;
    font-size: 11px;
    font-weight: 800;
}

.icon-blue {
    background: #eaf2ff;
    color: #0768f7;
}

.icon-purple {
    background: #f1eaff;
    color: #8252d5;
}

.icon-orange {
    background: #fff0e5;
    color: #d8752a;
}

.icon-green {
    background: #e6f8ee;
    color: #239b5a;
}

.icon-red {
    background: #fff0ef;
    color: #d9554e;
}

.icon-cyan {
    background: #e4f8fb;
    color: #16899b;
}

.feature-card h3 {
    margin-bottom: 10px;
    font-size: 17px;
    line-height: 1.4;
}

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

/* Broadcasting workflow */

.workflow-section {
    background: var(--white);
}

.workflow-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 38px 25px 30px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: linear-gradient(145deg, #f8fbff, #ffffff);
}

.workflow-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 230px;
    padding: 20px;
    border: 1px solid #e0e8f5;
    border-radius: 13px;
    background: var(--white);
    box-shadow: 0 8px 24px rgba(20, 40, 70, 0.05);
    text-align: center;
}

.workflow-node-icon,
.hayavo-node-mark {
    display: grid;
    place-items: center;
    width: 43px;
    height: 43px;
    margin-bottom: 10px;
    border-radius: 11px;
    background: #eaf2ff;
    color: var(--primary);
    font-size: 11px;
    font-weight: 800;
}

.hayavo-node-mark {
    background: var(--primary);
    color: var(--white);
    font-size: 18px;
}

.workflow-node strong {
    font-size: 13px;
}

.workflow-node small {
    margin-top: 4px;
    color: var(--muted);
    font-size: 10px;
}

.hayavo-node {
    border-color: #bcd5ff;
}

.workflow-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    height: 46px;
    padding: 5px 0;
}

.workflow-connector span {
    display: block;
    width: 2px;
    height: 9px;
    background: #91b8f6;
}

.workflow-branches {
    position: relative;
    width: 66%;
    height: 37px;
    margin-top: 0;
    border-top: 2px solid #91b8f6;
}

.workflow-branches::before,
.workflow-branches::after {
    content: "";
    position: absolute;
    top: 0;
    width: 2px;
    height: 36px;
    background: #91b8f6;
}

.workflow-branches::before {
    left: 0;
}

.workflow-branches::after {
    right: 0;
}

.destination-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
}

.destination-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 22px 14px;
    border: 1px solid #e6ebf3;
    border-radius: 12px;
    background: var(--white);
    text-align: center;
}

.destination-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 11px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 800;
}

.youtube-icon {
    background: #fff0ef;
    color: #d9362b;
}

.facebook-icon {
    background: #eaf2ff;
    color: #1877f2;
}

.hls-icon {
    background: #e6f8ee;
    color: #239b5a;
}

.destination-card strong {
    font-size: 13px;
}

.destination-card small {
    margin-top: 4px;
    color: var(--muted);
    font-size: 10px;
}

.workflow-note {
    max-width: 700px;
    margin: 20px auto 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
    text-align: center;
}

/* Content sections */

.content-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 75px;
}

.content-text h2 {
    margin-bottom: 18px;
}

.content-text > p {
    margin-top: 13px;
    color: var(--text);
    font-size: 14px;
    line-height: 1.85;
}

.check-list {
    display: grid;
    gap: 12px;
    margin-top: 24px;
    list-style: none;
}

.check-list li {
    color: #344054;
    font-size: 13px;
    font-weight: 600;
}

.check-list li::before {
    content: "✓";
    display: inline-grid;
    place-items: center;
    width: 19px;
    height: 19px;
    margin-right: 10px;
    border-radius: 50%;
    background: #eaf2ff;
    color: var(--primary);
    font-size: 11px;
}

.content-button {
    margin-top: 25px;
}

/* OBS preview */

.obs-visual {
    padding: 35px;
    border-radius: 20px;
    background: linear-gradient(145deg, #edf4ff, #f8faff);
}

.obs-window {
    overflow: hidden;
    border: 1px solid #27364d;
    border-radius: 13px;
    background: #111827;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.16);
}

.obs-titlebar {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 14px 17px;
    border-bottom: 1px solid #2a3a50;
    color: #c2ccda;
    font-size: 10px;
}

.obs-dots {
    display: flex;
    gap: 5px;
}

.obs-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #64748b;
}

.obs-dots span:first-child {
    background: #f87171;
}

.obs-dots span:nth-child(2) {
    background: #fbbf24;
}

.obs-dots span:nth-child(3) {
    background: #34d399;
}

.obs-preview {
    display: grid;
    place-items: center;
    min-height: 230px;
    background:
        radial-gradient(ellipse at center, rgba(7, 104, 247, 0.4), transparent 55%),
        linear-gradient(135deg, #0c1c37, #152f59 55%, #07152a);
}

.obs-preview-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--white);
    text-align: center;
}

.obs-preview-content span {
    margin-bottom: 8px;
    color: #91baff;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
}

.obs-preview-content strong {
    font-size: 24px;
}

.obs-preview-content small {
    margin-top: 5px;
    color: #c1d2e8;
    font-size: 10px;
}

.obs-controls {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 13px;
    background: #182438;
}

.obs-control-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    border: 1px solid #314057;
    border-radius: 7px;
}

.obs-control-item span {
    color: #92a4bb;
    font-size: 8px;
    font-weight: 700;
}

.obs-control-item strong {
    color: #e1e9f4;
    font-size: 9px;
}

/* HLS section */

.hls-section {
    background: var(--light);
}

.hls-grid {
    grid-template-columns: 0.95fr 1.05fr;
}

.hls-visual {
    padding: 35px;
    border-radius: 20px;
    background: linear-gradient(145deg, #eaf2ff, #f7faff);
}

.hls-player {
    overflow: hidden;
    border: 1px solid #dce5f2;
    border-radius: 13px;
    background: var(--white);
    box-shadow: 0 18px 40px rgba(20, 45, 85, 0.1);
}

.hls-player-screen {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 260px;
    background:
        radial-gradient(ellipse at 50% 40%, rgba(7, 104, 247, 0.35), transparent 48%),
        linear-gradient(135deg, #0b1a32, #18385f);
}

.hls-player-label {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.12);
    color: #d9e8ff;
    font-size: 8px;
    font-weight: 800;
}

.hls-player-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--white);
    text-align: center;
}

.hls-play {
    display: grid;
    place-items: center;
    width: 57px;
    height: 57px;
    margin-bottom: 14px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.13);
    font-size: 9px;
    font-weight: 800;
}

.hls-player-center strong {
    font-size: 15px;
}

.hls-player-center small {
    margin-top: 5px;
    color: #c1d2e8;
    font-size: 9px;
}

.hls-player-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    color: #718096;
    font-size: 8px;
    font-weight: 800;
}

.hls-progress {
    flex: 1;
    height: 4px;
    overflow: hidden;
    border-radius: 10px;
    background: #e7edf5;
}

.hls-progress span {
    display: block;
    width: 65%;
    height: 100%;
    background: var(--primary);
}

/* Use cases */

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

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

.use-case-number {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
}

.use-case-card h3 {
    margin-bottom: 9px;
    font-size: 16px;
}

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

/* Related products */

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

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

.related-card {
    padding: 25px 23px;
    border: 1px solid #e7ebf2;
    border-radius: 13px;
    background: var(--white);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.related-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.related-code {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 17px;
    border-radius: 9px;
    background: #eaf2ff;
    color: var(--primary);
    font-size: 10px;
    font-weight: 800;
}

.related-card h3 {
    margin-bottom: 9px;
    font-size: 15px;
}

.related-card p {
    min-height: 66px;
    color: var(--text);
    font-size: 12px;
    line-height: 1.75;
}

.related-card a {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
}

.related-card a:hover {
    text-decoration: underline;
}

/* Developer section */

.developer-section {
    background: #f7f9fc;
}

.developer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 65px;
}

.developer-content h2 {
    margin-bottom: 18px;
}

.developer-content > p {
    margin-top: 13px;
    color: var(--text);
    font-size: 14px;
    line-height: 1.85;
}

.developer-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 27px;
}

.text-link {
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
}

.text-link:hover {
    text-decoration: underline;
}

.code-preview {
    overflow: hidden;
    border: 1px solid #29364a;
    border-radius: 13px;
    background: #111827;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.15);
}

.code-header {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 15px 19px;
    border-bottom: 1px solid #29364a;
    color: #aab6c8;
    font-size: 11px;
}

.code-dots {
    display: flex;
    gap: 5px;
}

.code-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #64748b;
}

.code-dots span:first-child {
    background: #f87171;
}

.code-dots span:nth-child(2) {
    background: #fbbf24;
}

.code-dots span:nth-child(3) {
    background: #34d399;
}

.code-preview pre {
    overflow-x: auto;
    padding: 28px 23px;
    color: #dbeafe;
    font-family: Consolas, Monaco, monospace;
    font-size: 12px;
    line-height: 2;
    white-space: pre-wrap;
}

.code-note {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 13px 19px;
    border-top: 1px solid #29364a;
    color: #aab6c8;
    font-size: 10px;
}

.code-note span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #34d399;
}

/* FAQ */

.faq-section {
    background: var(--light);
}

.faq-container {
    max-width: 850px;
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-item {
    overflow: hidden;
    border: 1px solid #e6eaf1;
    border-radius: 10px;
    background: var(--white);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 19px 21px;
    border: 0;
    background: transparent;
    color: var(--dark);
    text-align: left;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.faq-icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 25px;
    height: 25px;
    margin-left: 15px;
    border-radius: 50%;
    background: #edf4ff;
    color: var(--primary);
    font-size: 17px;
}

.faq-answer {
    display: none;
    padding: 0 21px 19px;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-answer p {
    color: var(--text);
    font-size: 13px;
    line-height: 1.85;
}

.faq-answer a {
    color: var(--primary);
    text-decoration: underline;
}

/* CTA */

.cta-section {
    padding: 85px 0;
    background: linear-gradient(120deg, #0759d7, #0877ff);
}

.cta-container {
    text-align: center;
}

.cta-content {
    max-width: 720px;
    margin: auto;
}

.cta-content .section-label {
    color: #c9ddff;
}

.cta-content h2 {
    margin-top: 13px;
    color: var(--white);
    font-size: clamp(30px, 3.5vw, 42px);
    line-height: 1.2;
    letter-spacing: -1px;
}

.cta-content p {
    max-width: 620px;
    margin: 17px auto 0;
    color: #e0ecff;
    font-size: 14px;
    line-height: 1.8;
}

.cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 27px;
}

/* Footer */

.site-footer {
    padding-top: 65px;
    background: #101827;
    color: #d3dbe8;
}

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

.footer-logo {
    color: var(--white);
}

.footer-brand p {
    max-width: 280px;
    margin-top: 17px;
    color: #9ba9bc;
    font-size: 12px;
    line-height: 1.9;
}

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

.footer-column h3 {
    margin-bottom: 7px;
    color: var(--white);
    font-size: 13px;
}

.footer-column a {
    color: #9ba9bc;
    font-size: 11px;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 0;
    border-top: 1px solid #293548;
    color: #8998ad;
    font-size: 10px;
}

/* Responsive */

@media (max-width: 1050px) {
    .main-navigation {
        gap: 17px;
    }

    .hero-grid {
        gap: 35px;
    }

    .content-grid {
        gap: 45px;
    }
}

@media (max-width: 820px) {
    .section-padding {
        padding: 75px 0;
    }

    .site-header {
        height: 70px;
    }

    .menu-toggle {
        display: block;
    }

    .main-navigation {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        display: none;
        height: auto;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        padding: 15px 20px 22px;
        border-top: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
        background: var(--white);
        box-shadow: 0 15px 25px rgba(15, 35, 70, 0.08);
        align-items: stretch;
        flex-direction: column;
        gap: 0;
    }

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

    .main-navigation > a,
    .dropdown-toggle {
        display: block;
        width: 100%;
        padding: 12px 5px;
        text-align: left;
    }

    .nav-dropdown {
        display: block;
        height: auto;
    }

    .dropdown-menu {
        position: static;
        display: none;
        width: 100%;
        margin: 3px 0 9px;
        padding: 7px;
        border: 0;
        background: #f7f9fc;
        box-shadow: none;
    }

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

    .nav-cta {
        width: fit-content !important;
        margin-top: 10px;
        padding: 10px 18px !important;
    }

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

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-content h1,
    .hero-description {
        margin-inline: auto;
    }

    .hero-actions,
    .hero-highlights {
        justify-content: center;
    }

    .streaming-visual {
        max-width: 530px;
        width: 100%;
        margin: auto;
    }

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

    .content-grid,
    .developer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .obs-visual,
    .hls-visual {
        max-width: 550px;
        width: 100%;
        margin: auto;
    }

    .hls-grid .hls-visual {
        order: 2;
    }

    .hls-grid .content-text {
        order: 1;
    }

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

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

@media (max-width: 540px) {
    .container {
        width: min(100% - 30px, 1160px);
    }

    .section-padding {
        padding: 60px 0;
    }

    .brand {
        font-size: 19px;
    }

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

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

    .hero-content h1 {
        font-size: 37px;
        letter-spacing: -1.4px;
    }

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

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-highlights {
        gap: 10px 15px;
    }

    .hero-highlights span {
        font-size: 10px;
    }

    .streaming-visual {
        padding: 18px 0;
    }

    .stream-screen {
        min-height: 225px;
    }

    .floating-platform {
        font-size: 9px;
        padding: 8px 10px;
    }

    .platform-top {
        right: -4px;
    }

    .platform-bottom {
        left: -4px;
    }

    .intro-container h2,
    .section-heading h2,
    .content-text h2,
    .developer-content h2 {
        font-size: 29px;
    }

    .intro-container p {
        font-size: 13px;
    }

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

    .feature-card,
    .use-case-card {
        padding: 23px 20px;
    }

    .workflow-visual {
        padding: 25px 13px;
    }

    .workflow-node {
        width: min(230px, 100%);
    }

    .workflow-branches {
        width: 75%;
    }

    .destination-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .destination-card {
        padding: 15px;
    }

    .obs-visual,
    .hls-visual {
        padding: 17px;
    }

    .obs-preview,
    .hls-player-screen {
        min-height: 200px;
    }

    .obs-controls {
        grid-template-columns: 1fr;
    }

    .developer-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .faq-question {
        padding: 16px;
        font-size: 12px;
    }

    .faq-answer {
        padding: 0 16px 16px;
    }

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

    .cta-content h2 {
        font-size: 30px;
    }

    .cta-actions {
        flex-direction: column;
    }

    .cta-actions .btn {
        width: 100%;
    }

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

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 7px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

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