/* Header buttons — always inline */
.buttons_right_logo {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 5px !important;
    flex-shrink: 0;
}


/* SEO Page Hero — inherits all visual properties from .hero so the banner
   matches the landing page exactly (same padding, same gradient, same heights).
   The previous rule overrode padding-top with clamp(90px, 14vw, 140px), which
   made the SEO and devices pages start higher than the landing — the visible
   banner mismatch you saw side-by-side. We rely on .hero own padding now, so
   all three page types share one banner spec. */
.seo-page-hero {
    /* intentionally empty — .hero handles all spacing */
}


/* Hero image (above H1) */
.seo-hero-image-wrap {
    text-align: center;
    margin: 0 auto 28px;
}
.seo-hero-image {
    display: inline-block;
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.25);
}
.seo-hero-image-small  { max-width: 400px; }
.seo-hero-image-medium { max-width: 600px; }
.seo-hero-image-large  { max-width: 800px; }
.seo-hero-image-full   { max-width: 100%; }
.seo-hero-image-small .seo-hero-image,
.seo-hero-image-medium .seo-hero-image,
.seo-hero-image-large .seo-hero-image,
.seo-hero-image-full .seo-hero-image { max-width: 100%; }


/* SEO Page Content */
.seo-page-content {
    padding: 60px 0;
}
.seo-content-body {
    max-width: 800px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255,255,255,0.85);
}
.seo-content-body h2 {
    font-size: clamp(22px, 3.5vw, 28px);
    margin: 40px 0 16px;
    color: #fff;
}
.seo-content-body h3 {
    font-size: clamp(18px, 2.8vw, 22px);
    margin: 32px 0 12px;
    color: #fff;
}
.seo-content-body p {
    margin-bottom: 16px;
}
.seo-content-body ul, .seo-content-body ol {
    margin: 16px 0;
    padding-left: 24px;
}
.seo-content-body a {
    color: #6366f1;
    text-decoration: underline;
}

/* Images inside WYSIWYG content — always responsive, never overflow */
.seo-content-body img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 12px;
}
.seo-content-body img.alignleft  { float: left;  margin: 10px 20px 10px 0; }
.seo-content-body img.alignright { float: right; margin: 10px 0 10px 20px; }
.seo-content-body img.aligncenter { margin: 20px auto; }
.seo-content-body .wp-caption {
    max-width: 100% !important;
    margin: 20px auto;
}


/* FAQ block */
.seo-faq {
    padding: 40px 0 80px;
}
.seo-faq .faq-list {
    max-width: 800px;
    margin: 24px auto 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.seo-faq .faq-item {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s;
}
.seo-faq .faq-item.active {
    border-color: rgba(99,102,241,0.5);
}
.seo-faq .faq-question {
    width: 100%;
    text-align: left;
    background: transparent;
    border: 0;
    color: #fff;
    padding: 18px 22px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    line-height: 1.4;
}
.seo-faq .faq-icon {
    flex: 0 0 auto;
    font-size: 22px;
    font-weight: 300;
    color: rgba(255,255,255,0.6);
    transition: transform 0.2s;
}
.seo-faq .faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
    color: #8b5cf6;
}
.seo-faq .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.seo-faq .faq-question[aria-expanded="true"] + .faq-answer {
    max-height: 2000px;
}
.seo-faq .faq-answer-content {
    padding: 0 22px 18px;
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
    font-size: 15px;
}
.seo-faq .faq-answer-content a { color: #a5b4fc; }


/* Mobile-specific adjustments for SEO pages */
@media (max-width: 768px) {
    .seo-page-hero {
        padding-top: 80px;
        padding-bottom: 32px;
    }
    .seo-page-hero .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .seo-page-hero .hero-buttons .btn {
        width: 100%;
    }
    .seo-hero-image-wrap {
        margin-bottom: 20px;
    }
    .seo-page-content {
        padding: 40px 0;
    }
    .seo-cta, .seo-faq {
        padding: 40px 0 60px;
    }
    .seo-cta-inline {
        margin: 24px auto;
        padding: 20px;
    }
    .related-pages {
        padding: 24px 0 60px;
    }
    .seo-content-body {
        font-size: 15px;
        line-height: 1.7;
    }
    .seo-content-body img {
        margin: 16px auto;
        border-radius: 10px;
    }
    .seo-content-body img.alignleft,
    .seo-content-body img.alignright {
        float: none;
        margin: 16px auto;
    }
}


/* Installation V2 — Platform icons */
.installation-v2 {
    padding: 80px 0;
    text-align: center;
    background: #261276;
}
.inst-v2-title {
    font-size: 36px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
}
.inst-v2-subtitle {
    font-size: 16px;
    color: #ffffff;
    max-width: 640px;
    margin: 0 auto 48px;
    line-height: 1.7;
}
.inst-v2-platforms {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}
.inst-v2-platform {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #ffffff;
    transition: color 0.2s, transform 0.2s;
    min-width: 80px;
}
.inst-v2-platform:hover {
    color: #6366f1;
    transform: translateY(-4px);
}
.inst-v2-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.inst-v2-icon svg {
    width: 44px;
    height: 44px;
}
.inst-v2-icon img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}
.inst-v2-placeholder {
    font-size: 28px;
    font-weight: 700;
    opacity: 0.5;
}
.inst-v2-platform span {
    font-size: 14px;
    font-weight: 500;
}
@media (max-width: 768px) {
    .inst-v2-platforms { gap: 32px; }
    .inst-v2-title { font-size: 28px; }
}


/* ============================================
   Adaptive layout for multilingual content
   ============================================ */


/* Pricing cards — prevent overflow with long words */
.pricing-card {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}
.pricing-card-title {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    font-size: clamp(18px, 3vw, 24px);
    line-height: 1.3;
}
.pricing-btn {
    white-space: nowrap;
    font-size: clamp(13px, 2vw, 16px);
    padding: 12px 20px !important;
}
.price {
    word-break: break-all;
    font-size: clamp(28px, 5vw, 40px);
}
.price-note {
    word-wrap: break-word;
    font-size: clamp(12px, 1.8vw, 14px);
}
.pricing-badge {
    white-space: nowrap;
    font-size: clamp(11px, 1.5vw, 14px);
}


/* Hero — adaptive text sizing */
.hero-title {
    hyphens: manual;
    -webkit-hyphens: manual;
    overflow-wrap: normal;
    word-break: normal;
    font-size: clamp(28px, 5vw, 56px);
    line-height: 1.15;
}
.hero-subtitle {
    font-size: clamp(14px, 2.2vw, 18px);
}
.hero-note {
    font-size: clamp(12px, 1.8vw, 14px);
}


/* Buttons — never wrap, shrink font if needed */
.btn {
    white-space: nowrap;
    font-size: clamp(13px, 2vw, 16px);
}
.hero-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}


/* Feature cards — adaptive */
.feature-title-small,
.feature-title-large,
.feature-title-medium,
.feature-title-no-logs {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}


/* Section titles */
.section-title {
    word-wrap: break-word;
    overflow-wrap: break-word;
    font-size: clamp(24px, 4vw, 36px);
}



@media (max-width: 300px){
.buttons_right_logo .btn {
    padding: 8px 8px !important;
}
}


/* Pricing grid — responsive */
@media (max-width: 992px) {
    .pricing-grid {
        grid-template-columns: 1fr !important;
        max-width: 400px;
        margin: 0 auto;
    }
}
