
/* =========================================
   Hayavo Meet - Real-Time Messaging 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: 235px;
    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;
}

/* Hero chat visual */

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

.chat-window {
    width: 100%;
    max-width: 450px;
    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);
}

.chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 17px 20px;
    border-bottom: 1px solid #edf0f5;
}

.chat-user {
    display: flex;
    align-items: center;
    gap: 11px;
}

.chat-user strong,
.chat-user small,
.attachment-card strong,
.attachment-card small {
    display: block;
}

.chat-user strong {
    font-size: 13px;
}

.chat-user small {
    color: var(--muted);
    font-size: 10px;
}

.avatar {
    display: grid;
    place-items: center;
    width: 37px;
    height: 37px;
    border-radius: 50%;
    color: var(--white);
    font-weight: 800;
}

.avatar-blue {
    background: linear-gradient(135deg, #0768f7, #60a5fa);
}

.chat-header-menu {
    color: #8993a3;
    letter-spacing: 2px;
}

.chat-body {
    min-height: 350px;
    padding: 20px;
    background: #fbfcfe;
}

.message-date {
    margin-bottom: 20px;
    color: #9aa4b3;
    font-size: 9px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 1px;
}

.message {
    max-width: 84%;
    margin-bottom: 17px;
}

.message-author {
    margin-bottom: 5px;
    color: #778397;
    font-size: 10px;
}

.message-bubble {
    padding: 11px 13px;
    border-radius: 4px 12px 12px 12px;
    background: #edf1f7;
    color: #344054;
    font-size: 11px;
    line-height: 1.6;
}

.message small {
    display: block;
    margin-top: 5px;
    color: #9aa4b3;
    font-size: 9px;
}

.message.sent {
    margin-left: auto;
    text-align: right;
}

.message.sent .message-bubble {
    border-radius: 12px 4px 12px 12px;
    background: #e8f1ff;
    color: #164c9b;
    text-align: left;
}

.attachment-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 1px solid #e7ebf2;
    border-radius: 8px;
    background: var(--white);
}

.attachment-icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 39px;
    border-radius: 6px;
    background: #fff0ef;
    color: #e15b52;
    font-size: 9px;
    font-weight: 800;
}

.attachment-card strong {
    color: #344054;
    font-size: 10px;
}

.attachment-card small {
    color: #98a2b3;
    font-size: 9px;
}

.typing-indicator {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #9aa4b3;
}

.typing-indicator span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #8ca6c9;
}

.typing-indicator small {
    margin-left: 5px;
    font-size: 9px;
}

.chat-composer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
    border-top: 1px solid #edf0f5;
}

.composer-plus {
    color: var(--primary);
    font-size: 23px;
}

.composer-placeholder {
    flex: 1;
    color: #a2aab6;
    font-size: 10px;
}

.composer-action {
    color: #78869b;
    font-size: 9px;
    font-weight: 800;
}

.send-button {
    display: grid;
    place-items: center;
    width: 27px;
    height: 27px;
    border-radius: 7px;
    background: var(--primary);
    color: var(--white);
    font-size: 16px;
}

.floating-label {
    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;
}

.label-top {
    top: 5px;
    right: -10px;
}

.label-bottom {
    bottom: 4px;
    left: -15px;
}

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

/* Intro */

.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 headings */

.section-heading {
    max-width: 720px;
    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: 12px;
    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;
}

/* Content section */

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

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

.media-panel {
    padding: 23px;
    border: 1px solid #e6ebf3;
    border-radius: 13px;
    background: var(--white);
    box-shadow: 0 15px 40px rgba(24, 55, 100, 0.07);
}

.media-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 18px;
    border-bottom: 1px solid #edf0f5;
    font-size: 13px;
    font-weight: 800;
}

.media-status {
    padding: 4px 8px;
    border-radius: 20px;
    background: #eaf2ff;
    color: var(--primary);
    font-size: 9px;
}

.media-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f2f6;
}

.media-item:last-child {
    border-bottom: 0;
}

.media-symbol {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 9px;
    font-size: 10px;
    font-weight: 800;
}

.image-symbol {
    background: #eaf2ff;
    color: #0768f7;
}

.video-symbol {
    background: #fff0e5;
    color: #d8752a;
}

.gif-symbol {
    background: #f1eaff;
    color: #8252d5;
}

.file-symbol {
    background: #e6f8ee;
    color: #239b5a;
}

.media-item strong,
.media-item small {
    display: block;
}

.media-item strong {
    font-size: 12px;
}

.media-item small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 10px;
}

.media-check {
    margin-left: auto;
    color: #22a06b;
    font-weight: 800;
}

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

/* Communication cards */

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

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

.communication-card {
    padding: 25px 21px;
    border: 1px solid #e7ebf2;
    border-radius: 13px;
    background: var(--white);
}

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

.communication-card h3 {
    margin-bottom: 9px;
    font-size: 15px;
    line-height: 1.4;
}

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

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

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

/* Use cases */

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

.use-case-card {
    position: relative;
    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;
}

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

/* Benefits */

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

.benefit-item {
    padding-top: 20px;
    border-top: 2px solid #dbe8fa;
}

.benefit-item h3 {
    margin-bottom: 10px;
    font-size: 15px;
}

.benefit-item p {
    color: var(--text);
    font-size: 12px;
    line-height: 1.8;
}

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

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

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

    .messaging-visual {
        max-width: 520px;
        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;
    }

    .content-visual {
        max-width: 540px;
        width: 100%;
        margin: auto;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

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

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

    .chat-body {
        min-height: 320px;
        padding: 16px;
    }

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

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

    .label-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,
    .communication-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

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

    .communication-card p {
        min-height: auto;
    }

    .content-visual {
        padding: 17px;
    }

    .media-panel {
        padding: 16px;
    }

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