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

:root {
    --bg: #0B1220;
    --bg-deep: #080F1A;
    --surface: #111A2B;
    --accent: #00B8D9;
    --accent-hover: #00CBEF;
    --alert: #0F4C81;
    --alert-soft: #0C3D68;
    --text: #D5DFEA;
    --text-soft: #9FB0C7;
    --border: #24324A;
    --card: rgba(17, 26, 43, 0.9);
    --card-strong: #111A2B;
    --shadow: 0 18px 45px rgba(0, 0, 0, 0.3);
    --radius: 16px;
    --maxw: 1200px;
    --sans: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--sans);
    background: linear-gradient(180deg, var(--bg), var(--bg-deep));
    color: var(--text);
    line-height: 1.6;
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 5rem 0;
}

/* Normalize inner section containers to match main portfolio (1200px / 2rem gutters) */
.section > .max-w-7xl {
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 2rem;
}

.section-alt {
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-heading {
    font-size: var(--fs-h1);
    margin-bottom: 1rem;
}

.section-title {
    font-size: var(--fs-h2);
    margin-bottom: 1rem;
}

.section-description {
    color: var(--text-soft);
    margin-bottom: 1rem;
}

.setup-steps {
    margin-bottom: 1rem;
    display: grid;
    gap: 0.55rem;
}

.setup-note {
    margin: 0;
    display: grid;
    gap: 0.2rem;
}

.setup-step-label {
    color: var(--text);
    font-weight: 700;
}

.setup-security-tip {
    margin-top: 0.2rem;
}

.setup-reco-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    border: 1px solid rgba(244, 201, 107, 0.45);
    background: rgba(244, 201, 107, 0.14);
    color: #f4c96b;
    font-size: var(--fs-small);
    font-weight: 700;
}

.setup-security-flow {
    font-family: Consolas, Monaco, monospace;
    font-size: 0.84rem;
    line-height: 1.5;
}

.setup-step-card {
    margin-bottom: 0.85rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(17, 26, 43, 0.6);
    padding: 0.85rem 0.95rem;
}

.setup-step-title {
    margin: 0 0 0.35rem;
    font-size: 1rem;
    color: var(--text);
}

.setup-ordered-list {
    margin: 0;
    padding-left: 1.05rem;
    display: grid;
    gap: 0.38rem;
    color: var(--text-soft);
}

.webhook-script-label {
    margin-top: 0.2rem;
    margin-bottom: 0.55rem;
}

.webhook-script-wrap {
    position: relative;
}

.copy-script-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    font-size: var(--fs-small);
    padding: 0.3rem 0.58rem;
    border-radius: 8px;
    cursor: pointer;
    z-index: 2;
}

.copy-script-btn.copied {
    border-color: rgba(0, 184, 217, 0.5);
    background: rgba(0, 184, 217, 0.18);
}

.webhook-code-block {
    margin: 0;
    background: #0a1628;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    padding-top: 46px;
    overflow-x: auto;
    font-family: Consolas, Monaco, monospace;
    line-height: 1.5;
    color: var(--text);
}

header {
    position: sticky;
    top: 0;
    z-index: var(--header-z-index, 1000);
    background: var(--header-bg, rgba(10, 14, 20, 0.92));
    backdrop-filter: blur(var(--header-blur, 14px));
    -webkit-backdrop-filter: blur(var(--header-blur, 14px));
    border-bottom: 1px solid var(--border);
    padding: var(--header-padding, 1rem 0);
}

nav {
    max-width: var(--nav-max-width, 1200px);
    margin: 0 auto;
    padding: var(--nav-padding, 0 2rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: calc(var(--header-z-index, 1000) + 1);
}

.logo img {
    width: var(--logo-size, 40px);
    height: var(--logo-size, 40px);
    object-fit: cover;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.logo:hover img {
    transform: scale(1.1);
    filter: brightness(1.2);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 8px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-right-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: nowrap;
}

.language-selector {
    display: flex;
    gap: 0.5rem;
    margin-left: 1rem;
    flex-wrap: nowrap;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    min-width: 0;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    border-radius: 20px;
    padding: 0.5rem 0.8rem;
    font-size: var(--fs-nav);
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: rgba(0,184,217,0.1);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.lang-btn.active {
    border-color: var(--accent);
    background: var(--accent);
    color: #051017;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 1001;
    margin-left: auto;
}

.hero-grid {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 1200px;
    margin-inline: auto;
    padding: 0 2rem; /* matches index.html .container horizontal padding */
}

.hero-copy {
    flex: 1 1 56%;
    max-width: 55%;
}

.hero {
    background: linear-gradient(135deg, var(--bg) 0%, #122036 100%);
    padding-bottom: 3.5rem;
}

.badge {
    display: inline-block;
    background: rgba(0, 184, 217, 0.12);
    border: 1px solid rgba(0, 184, 217, 0.28);
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    font-size: var(--fs-small);
    margin-bottom: 0.9rem;
}

.hero-copy h1 {
    font-size: var(--fs-h1);
    line-height: 1.1;
    margin-bottom: 0.35rem;
}

.hero-copy h2 {
    font-size: clamp(1.1rem, 2.3vw, 1.55rem);
    color: var(--text-soft);
    margin-bottom: 0.8rem;
}

.hero-copy p {
    color: var(--text-soft);
    max-width: 58ch;
}

.hero-actions {
    margin-top: 1.5rem;
    display: flex;
    gap: 0.8rem;
}

.hero-actions img {
    height: 3.5rem; /* fallback for Tailwind h-14 */
    width: auto;
}

.play-badge-link {
    display: inline-flex;
    text-decoration: none;
}

.play-badge-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.68rem;
    min-height: 56px;
    padding: 0.62rem 1.1rem;
    border-radius: 999px;
    background: #000;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.26);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

.play-badge-btn .fa-google-play {
    font-size: 1.32rem;
}

.play-badge-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.05;
}

.play-badge-top {
    font-size: 0.62rem;
    letter-spacing: 0.04em;
    opacity: 0.86;
}

.play-badge-bottom {
    font-size: 1.05rem;
    font-weight: 700;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.72rem 1.2rem;
    border-radius: 11px;
    font-weight: 600;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--alert), var(--alert-soft));
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-primary-hover:hover,
.btn-primary-hover:focus-visible,
.btn-primary:hover,
.btn-primary:focus-visible {
    transform: translateY(-3px);
    background: var(--alert-soft);
    box-shadow: 0 10px 30px rgba(12, 61, 104, 0.35);
}

.btn-outline {
    border-color: var(--border);
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
}

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

.hero-avatar-wrap {
    position: relative;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    max-width: 320px;
    margin-left: auto;
    padding-right: 3rem;
}

.maria-portrait-circle {
    overflow: hidden;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.maria-portrait {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 20%;
    display: block;
}

.hero-avatar-circle {
    position: relative;
    display: grid;
    place-items: center;
}

.hero-avatar-glow {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 184, 217, 0.3), transparent 68%);
    filter: blur(8px);
}

.hero-avatar {
    width: min(320px, 78vw);
    aspect-ratio: 1;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    border: 4px solid var(--border);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.35);
    display: block;
    position: relative;
}

.cards-grid {
    display: grid;
    gap: 1rem;
}

.four-up {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.three-up {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.two-up {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.1rem;
}

.card-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.65rem;
    line-height: 1;
}

.card-icon i {
    display: inline-block;
}

.card h3 {
    margin: 0.45rem 0;
    font-size: var(--fs-h3);
}

.card p,
.card li {
    color: var(--text-soft);
}

.chat-demo {
    display: grid;
    gap: 0.65rem;
    max-width: 880px;
}

.chat-row {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    justify-self: start;
}

.chat-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 35%;
    border: 1.5px solid var(--accent);
    display: block;
}

.chat-avatar-wrap {
    width: 36px;
    height: 36px;
    overflow: hidden;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bubble {
    width: fit-content;
    max-width: min(96%, 760px);
    padding: 0.7rem 0.95rem;
    border-radius: 14px;
    border: 1px solid var(--border);
    animation: riseIn 0.7s ease both;
}

.bubble.user {
    justify-self: end;
    background: rgba(15, 76, 129, 0.25);
}

.bubble.bot {
    background: rgba(255, 255, 255, 0.08);
}

.bubble:nth-child(2) {
    animation-delay: 0.14s;
}

.bubble:nth-child(3) {
    animation-delay: 0.28s;
}

.bubble:nth-child(4) {
    animation-delay: 0.42s;
}

@keyframes riseIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pricing-card {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.pricing-card ul {
    padding-left: 1rem;
    margin-bottom: 0.45rem;
}

.pricing-card li {
    margin-bottom: 0.25rem;
}

.plans-meta {
    margin-top: 0.9rem;
    display: grid;
    gap: 0.45rem;
}

.compatibility-note {
    color: var(--text-soft);
    font-size: var(--fs-small);
}

.voice-reco-note {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    width: fit-content;
    font-size: var(--fs-small);
    color: var(--text-soft);
    background: rgba(0, 184, 217, 0.1);
    border: 1px solid rgba(0, 184, 217, 0.28);
    border-radius: 999px;
    padding: 0.28rem 0.65rem;
}

/* Status card: flex-column layout (CSS fallback for Tailwind flex flex-col h-full) */
.status-card {
    display: flex;
    flex-direction: column;
}

.status-card h3 {
    margin-bottom: 0.55rem;
}

/* Button wrapper at card bottom: push to bottom + spacing from list above (Tasks 3 & 4) */
.status-card > div:last-child {
    margin-top: auto;
    padding-top: 2rem;
    text-align: center;
}

.status-list {
    margin: 0;
    padding-left: 1rem;
    display: grid;
    gap: 0.26rem;
}

.status-available .status-list li::marker {
    color: var(--accent);
}

.status-dev {
    border-style: dashed;
    border-color: rgba(159, 176, 199, 0.42);
}

.status-dev .status-list li {
    color: var(--text-soft);
}

.roadmap-pills {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0.25rem 0 1rem;
    padding: 0;
}

.roadmap-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border: 1px dashed rgba(255, 255, 255, 0.28);
    border-radius: 20px;
    font-size: var(--fs-small);
    color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.02);
}

.roadmap-pill i {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.plan {
    font-size: var(--fs-small);
    letter-spacing: 0.08em;
    color: #8cb8ff;
    font-weight: 700;
}

.pro-card {
    border-color: rgba(0, 184, 217, 0.38);
    box-shadow: 0 0 0 1px rgba(0, 184, 217, 0.2), var(--shadow);
}

.code-card {
    margin-top: 0.6rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    background: #0A101B;
}

.config-card {
    margin-top: 0.55rem;
    margin-bottom: 0.8rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    padding: 0.95rem;
}

.config-title {
    margin-bottom: 0.55rem;
    font-size: 1rem;
}

.config-grid {
    display: grid;
    gap: 0.45rem;
}

.config-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 0.65rem;
    align-items: center;
    padding-bottom: 0.38rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.config-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.config-row span {
    color: var(--text-soft);
    font-weight: 600;
}

.config-param {
    color: var(--primary, var(--accent));
    font-family: Consolas, Monaco, monospace;
    font-weight: 700;
}

.config-row code {
    font-family: Consolas, Monaco, monospace;
    color: var(--text);
    background: rgba(0, 184, 217, 0.08);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.35rem 0.45rem;
    user-select: text;
}

.config-placeholder {
    color: var(--text-soft);
    font-style: italic;
}

.config-macro {
    color: var(--text-soft);
}

.config-security-callout {
    margin-bottom: 0.8rem;
    border: 1px solid var(--primary, var(--accent));
    border-radius: 12px;
    background: rgba(17, 26, 43, 0.92);
    padding: 0.85rem 0.95rem;
}

.config-security-head {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.35rem;
    font-weight: 700;
    color: var(--text);
}

.config-security-body {
    margin: 0;
    color: var(--text-soft);
}

.setup-info-callout {
    margin-bottom: 0.8rem;
    border: 1px solid rgba(79, 146, 255, 0.5);
    border-radius: 12px;
    background: rgba(12, 28, 52, 0.9);
    padding: 0.85rem 0.95rem;
}

.setup-info-head {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.35rem;
    font-weight: 700;
    color: #8cb8ff;
}

.setup-info-body {
    margin: 0;
    color: var(--text-soft);
}

.code-head {
    padding: 0.65rem 0.9rem;
    font-weight: 700;
    font-size: var(--fs-small);
    background: rgba(0, 184, 217, 0.16);
    border-bottom: 1px solid var(--border);
}

.code-card pre {
    margin: 0;
    padding: 1rem;
    overflow-x: auto;
}

.code-card code {
    font-family: Consolas, Monaco, monospace;
    color: #EAF2FF;
    font-size: 0.86rem;
    line-height: 1.55;
}

.api-key-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
}

.api-key-card h2 {
    margin-bottom: 0.55rem;
}

.api-key-card p {
    color: var(--text-soft);
    margin-bottom: 0.65rem;
}

.api-link {
    display: inline-block;
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.warning-banner {
    margin: 0.9rem 0 0.75rem;
    background: linear-gradient(180deg, rgba(0, 184, 217, 0.1), rgba(244, 201, 107, 0.08));
    border: 1px solid rgba(0, 184, 217, 0.32);
    border-left: 4px solid #F4C96B;
    border-radius: 12px;
    padding: 1rem 1.05rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.warning-icon {
    color: #F4C96B;
    line-height: 1;
    margin-top: 0.1rem;
    font-size: 1.05rem;
}

.warning-copy {
    display: grid;
    gap: 0.35rem;
}

.warning-lead {
    color: #F6D99F;
    margin: 0;
    font-weight: 700;
    white-space: nowrap;
}

.warning-text {
    color: #F6D99F;
    margin: 0;
}

.tier-note {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    width: fit-content;
    font-size: var(--fs-small);
    line-height: 1.35;
    border-radius: 999px;
    padding: 0.22rem 0.62rem;
}

.tier-icon {
    line-height: 1;
}

.tier-free {
    color: var(--text-soft);
    background: rgba(159, 176, 199, 0.12);
    border: 1px solid rgba(159, 176, 199, 0.32);
}

.tier-paid {
    color: var(--accent);
    background: rgba(0, 184, 217, 0.14);
    border: 1px solid rgba(0, 184, 217, 0.34);
}

.site-footer {
    border-top: 1px solid var(--border);
    padding: 1.5rem 0 2rem;
}

.footer-inner {
    display: grid;
    gap: 0.65rem;
    text-align: center;
    color: var(--text-soft);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text);
}

.privacy-page {
    padding-top: 6.8rem;
}

.privacy-container {
    max-width: 860px;
}

.privacy-meta {
    color: var(--text-soft);
    margin-bottom: 1.2rem;
}

.privacy-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
    box-shadow: 0 10px 34px rgba(0, 0, 0, 0.3);
}

.privacy-lang {
    display: block;
}

.privacy-section {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

.privacy-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.privacy-section:first-child {
    padding-top: 0;
}

.privacy-section h2 {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 1.05rem;
    margin-bottom: 0.45rem;
}

.privacy-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 184, 217, 0.16);
    color: var(--accent);
    font-weight: 700;
}

.privacy-section p {
    color: var(--text-soft);
}

.privacy-back {
    margin-top: 1rem;
    display: block;
}

.privacy-back .btn {
    opacity: 1;
    visibility: visible;
    position: relative;
    z-index: 2;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-back .arrow-icon {
    flex-shrink: 0;
    font-size: 1.1em;
}

@media (max-width: 980px) {
    .hero-grid {
        flex-direction: column;
        text-align: center;
    }

    .hero-copy p {
        margin: 0 auto;
    }

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

    .four-up,
    .three-up,
    .two-up {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    html,
    body {
        overflow-x: hidden;
        max-width: 100%;
    }

    *,
    *::before,
    *::after {
        box-sizing: border-box;
        max-width: 100%;
    }

    .hero.section {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        padding: 48px 20px;
    }

    .container,
    .section > .max-w-7xl {
        padding-inline: 1rem;
    }

    .hero-grid {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0; /* .hero.section already provides 20px gutters on mobile */
    }

    .hero-copy {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
        max-width: 100%;
    }

    .hero-copy .badge {
        text-align: center;
        display: block;
        margin: 0 auto 12px auto;
    }

    .hero-actions {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .hero-actions .play-badge-link {
        display: flex;
        justify-content: center;
        margin: 16px auto 0 auto;
    }

    .hero-avatar-wrap {
        width: 100%;
        max-width: 180px;
        margin: 0 auto;
        padding-right: 0;
    }

    .hero-avatar-glow {
        width: min(280px, 100%);
        max-width: 100%;
    }

    .hero-avatar {
        width: 100%;
        height: auto;
        max-width: 100%;
        margin: 32px auto 0 auto;
        display: block;
    }

    .chat-demo,
    .chat-row,
    .bubble {
        width: 100%;
        max-width: 100%;
    }

    .chat-row.bot .bubble.bot {
        max-width: calc(100% - 46px);
    }

    .config-row code {
        display: block;
        width: 100%;
        max-width: 100%;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .webhook-code-block {
        width: 100%;
        max-width: 100%;
    }

    .logo img {
        width: var(--logo-size, 40px);
        height: var(--logo-size, 40px);
        min-width: var(--logo-size, 40px);
        max-width: none;
    }

    .nav-right-controls {
        gap: 0.5rem;
    }

    .language-selector {
        gap: 0.4rem;
    }

    .lang-btn {
        padding: 0.35rem 0.6rem;
        font-size: 0.8rem;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 14, 20, 0.98);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border-top: 1px solid var(--border);
        padding: 0.8rem 0;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out, transform 0.3s ease-in-out;
    }

    .nav-links.active {
        display: flex;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        padding: 0.8rem 1rem;
        display: block;
        width: 100%;
        border-bottom: 1px solid var(--border);
        position: relative;
        padding-bottom: 10px;
    }

    .nav-links li:last-child a {
        border-bottom: none;
    }

    .nav-links a::after {
        display: block;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
    }

    .four-up,
    .three-up,
    .two-up {
        grid-template-columns: 1fr;
    }

    .hero-avatar-glow {
        width: 280px;
        height: 280px;
    }

    .hero-avatar {
        width: min(280px, 76vw);
    }

    .section {
        padding: 3.8rem 0;
    }

    .config-row {
        grid-template-columns: 1fr;
        gap: 0.3rem;
    }

    .warning-lead {
        white-space: normal;
    }

    .tier-note {
        width: 100%;
        border-radius: 12px;
    }

    .privacy-page {
        padding-top: 6.2rem;
    }

    .privacy-card {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .hero.section {
        padding-top: 64px;
        padding-bottom: 48px;
    }

    .hero-copy h1 {
        font-size: clamp(1.8rem, 6vw, 2.4rem);
    }

    .hero-copy p,
    .hero-copy h2 {
        font-size: clamp(0.9rem, 4vw, 1.1rem);
    }

    .badge {
        padding: 6px 14px;
    }

    .hero-actions {
        width: 100%;
    }

    .hero-actions > * {
        width: 100%;
        min-height: 48px;
    }

    .hero-actions .btn {
        font-size: 1rem;
    }

    .section-title {
        font-size: clamp(1.4rem, 5vw, 2rem);
        margin-bottom: 24px;
    }

    .section-title::after {
        content: "";
        display: block;
        width: 40px;
        height: 3px;
        border-radius: 2px;
        background: var(--accent);
        margin-top: 8px;
    }

    .section-title i,
    .section-heading i {
        width: 32px;
        height: 32px;
        font-size: 2rem;
        line-height: 1;
    }

    .cards-grid {
        gap: 16px;
    }

    .card {
        padding: 20px;
        border-radius: 16px;
    }

    .card-icon {
        font-size: 1.55rem;
    }

    .hero-avatar {
        margin: 0 auto;
    }

    .privacy-title,
    .privacy-page .section-heading {
        font-size: clamp(1.6rem, 5vw, 2.2rem);
    }

    .privacy-num {
        width: 40px;
        height: 40px;
    }

    .btn-back {
        width: 100%;
        min-height: 48px;
        justify-content: center;
    }

    .btn-back .arrow-icon {
        width: 18px;
        height: 18px;
        font-size: 1.125rem;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .maria-banner-inner {
        flex-direction: column;
        text-align: center;
    }

    .maria-banner-btn {
        width: 100%;
        min-height: 48px;
        justify-content: center;
    }
}
