/* BindOffice home — glassmorphism / soft UI */

.home-landing {
    --home-blue: #2563eb;
    --home-blue-dark: #1d4ed8;
    --home-blue-light: #eef4ff;
    --home-blue-glow: rgba(37, 99, 235, 0.15);
    --home-text: #1a1f36;
    --home-text-muted: #64748b;
    --home-radius: 16px;
    --home-radius-lg: 24px;
    --home-max: 1120px;
    --home-card-shadow: 0 10px 40px rgba(15, 23, 42, 0.06);
    color: var(--home-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    position: relative;
    /* overflow-x only: overflow:hidden + backdrop-filter on ai-dash-box causes intermittent paint bugs in WebKit */
    overflow-x: clip;
    overflow-y: visible;
}

.home-landing::before,
.home-landing::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.home-landing::before {
    width: 600px;
    height: 600px;
    top: -120px;
    right: -100px;
    background: radial-gradient(circle, rgba(147, 197, 253, 0.35) 0%, transparent 70%);
}

.home-landing::after {
    width: 500px;
    height: 500px;
    bottom: 200px;
    left: -120px;
    background: radial-gradient(circle, rgba(199, 210, 254, 0.3) 0%, transparent 70%);
}

.home-landing > * {
    position: relative;
    z-index: 1;
}

body.layout-default #app > .container:has(.home-landing) {
    max-width: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
}

body.layout-default:has(.home-landing) .footer {
    display: none;
}

body.layout-default:has(.home-landing) {
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 40%, #f4f8ff 100%);
    --home-max: 1120px;
    --home-padding-x: 24px;
}

/* Navigation */
.home-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}

.home-nav-inner {
    max-width: var(--home-max, 1120px);
    margin: 0 auto;
    padding: 14px var(--home-padding-x, 24px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.home-nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--home-text);
    font-weight: 700;
    font-size: 18px;
}

.home-nav-brand img {
    width: 36px;
    height: 36px;
}

.home-nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.home-nav-links a {
    color: #475569;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.home-nav-links a:hover {
    color: var(--home-blue);
}

.home-nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.home-nav-login {
    color: #475569;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.home-nav-login:hover {
    color: var(--home-blue);
}

.home-nav-signup {
    display: inline-flex;
    align-items: center;
    padding: 9px 20px;
    background: var(--home-blue);
    color: #fff !important;
    border-radius: 999px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s, transform 0.15s;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

.home-nav-signup:hover {
    background: var(--home-blue-dark);
    transform: translateY(-1px);
}

.home-locale select {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 6px 8px;
    font-size: 13px;
    background: rgba(255, 255, 255, 0.8);
    color: #475569;
}

/* Hero / AI command bar */
.home-landing .ai-dash-container {
    background: transparent;
    color: var(--home-text);
    padding: 64px 0 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    border-bottom: none;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.home-landing .ai-dash-content {
    width: 90%;
    max-width: 760px;
}

.home-landing .ai-dash-box {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: var(--home-radius-lg);
    padding: 20px 22px 14px;
    margin-bottom: 24px;
    box-shadow: var(--home-card-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.home-landing .ai-dash-box:focus-within {
    border-color: rgba(37, 99, 235, 0.4);
    box-shadow: 0 12px 48px var(--home-blue-glow), 0 0 0 3px rgba(37, 99, 235, 0.08);
}

.home-landing .ai-dash-textarea {
    background: transparent;
    border: none;
    color: var(--home-text);
    width: 100%;
    height: 100px;
    resize: none;
    font-size: 17px;
    line-height: 1.5;
    outline: none;
    font-family: inherit;
}

.home-landing .ai-dash-textarea::placeholder {
    color: #94a3b8;
}

.home-landing .ai-dash-box-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.home-landing .ai-dash-send {
    background: var(--home-blue);
    width: 38px;
    height: 38px;
    padding: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    transition: background 0.2s, transform 0.15s;
}

.home-landing .ai-dash-send:hover {
    background: var(--home-blue-dark);
    transform: scale(1.05);
}

.home-landing .ai-dash-send.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.home-landing .ai-dash-examples-title {
    color: var(--home-text-muted);
    font-size: 13px;
    font-weight: 500;
    margin: 8px 0 14px;
    text-align: left;
}

.home-landing .ai-dash-examples-title-help {
    margin-left: 8px;
    color: var(--home-blue);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
}

.home-landing .ai-dash-examples-title-help:hover {
    text-decoration: underline;
}

.home-landing .ai-dash-examples-help-text {
    display: block;
    color: var(--home-text-muted);
    font-size: 13px;
    line-height: 1.5;
    margin: -6px 0 14px;
    text-align: left;
    width: auto;
}

.home-landing .ai-dash-examples {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.home-landing .ai-dash-example {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid #e8edf5;
    color: #64748b;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.home-landing .ai-dash-example .material-icons {
    font-size: 18px !important;
    color: var(--home-blue);
}

.home-landing .ai-dash-example:hover {
    border-color: var(--home-blue);
    color: var(--home-blue);
    background: var(--home-blue-light);
}

.home-landing .ai-dash-loading {
    color: var(--home-text-muted);
    font-size: 14px;
    margin-bottom: 16px;
    text-align: center;
}

.home-landing .ai-dash-error {
    color: #dc2626;
    font-size: 14px;
    margin-bottom: 16px;
    text-align: center;
}

.home-landing .ai-dash-result {
    background: rgba(241, 245, 249, 0.9);
    border: 1px solid #e2e8f0;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 14px;
    margin-bottom: 16px;
    white-space: pre-wrap;
    color: #334155;
}

/* AI Chat messages */
.home-landing .ai-chat-messages {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 16px;
    padding: 8px 4px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    scroll-behavior: smooth;
    /* Custom narrow scrollbar */
    scrollbar-width: thin;
    scrollbar-color: rgba(148, 163, 184, 0.3) transparent;
}

.home-landing .ai-chat-messages::-webkit-scrollbar {
    width: 4px;
}

.home-landing .ai-chat-messages::-webkit-scrollbar-track {
    background: transparent;
}

.home-landing .ai-chat-messages::-webkit-scrollbar-thumb {
    background-color: rgba(148, 163, 184, 0.3);
    border-radius: 4px;
}

.home-landing .ai-chat-messages::-webkit-scrollbar-thumb:hover {
    background-color: rgba(148, 163, 184, 0.5);
}

.home-landing .ai-chat-msg {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 0 0 10px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.4);
    animation: ai-msg-in 0.25s ease-out;
}

.home-landing .ai-chat-msg:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

@keyframes ai-msg-in {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.home-landing .ai-chat-msg-role {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.home-landing .ai-chat-msg-user .ai-chat-msg-role {
    background: var(--home-blue);
    color: #fff;
}

.home-landing .ai-chat-msg-user .ai-chat-msg-role .material-icons {
    font-size: 18px;
}

.home-landing .ai-chat-msg-assistant .ai-chat-msg-role {
    background: #f0f4ff;
    color: var(--home-blue);
}

.home-landing .ai-chat-msg-assistant .ai-chat-msg-role .material-icons {
    font-size: 18px;
}

.home-landing .ai-chat-msg-system .ai-chat-msg-role {
    background: #f1f5f9;
    color: #94a3b8;
}

.home-landing .ai-chat-msg-system .ai-chat-msg-role .material-icons {
    font-size: 16px;
}

.home-landing .ai-chat-msg-body {
    flex: 1;
    min-width: 0;
}

.home-landing .ai-chat-msg-text {
    font-size: 14px;
    line-height: 1.6;
    color: #334155;
    white-space: pre-wrap;
    word-break: break-word;
    background: rgba(241, 245, 249, 0.8);
    border-radius: 12px;
    padding: 10px 14px;
}

.home-landing .ai-chat-msg-user .ai-chat-msg-text {
    background: var(--home-blue-light);
    color: #1e3a5f;
}

/* Markdown rendered content for assistant messages */
.home-landing .ai-chat-msg-text.ai-md {
    white-space: normal;
    background: rgba(241, 245, 249, 0.8);
}

.home-landing .ai-md p {
    margin: 0 0 8px;
}

.home-landing .ai-md p:last-child {
    margin-bottom: 0;
}

.home-landing .ai-md h1,
.home-landing .ai-md h2,
.home-landing .ai-md h3,
.home-landing .ai-md h4,
.home-landing .ai-md h5,
.home-landing .ai-md h6 {
    margin: 12px 0 6px;
    font-weight: 700;
    color: var(--home-text);
    line-height: 1.4;
}

.home-landing .ai-md h1:first-child,
.home-landing .ai-md h2:first-child,
.home-landing .ai-md h3:first-child {
    margin-top: 0;
}

.home-landing .ai-md h1 { font-size: 18px; }
.home-landing .ai-md h2 { font-size: 16px; }
.home-landing .ai-md h3 { font-size: 15px; }
.home-landing .ai-md h4 { font-size: 14px; }

.home-landing .ai-md ul,
.home-landing .ai-md ol {
    margin: 6px 0;
    padding-left: 22px;
}

.home-landing .ai-md li {
    margin-bottom: 3px;
    line-height: 1.6;
}

.home-landing .ai-md li:last-child {
    margin-bottom: 0;
}

.home-landing .ai-md code {
    background: rgba(37, 99, 235, 0.06);
    color: #be185d;
    font-size: 13px;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'SF Mono', 'Menlo', 'Consolas', monospace;
}

.home-landing .ai-md pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: 12px 14px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 8px 0;
    font-size: 13px;
    line-height: 1.5;
}

.home-landing .ai-md pre code {
    background: transparent;
    color: inherit;
    padding: 0;
    border-radius: 0;
    font-size: inherit;
}

.home-landing .ai-md blockquote {
    border-left: 3px solid var(--home-blue);
    margin: 8px 0;
    padding: 4px 12px;
    color: #64748b;
    background: rgba(37, 99, 235, 0.03);
    border-radius: 0 6px 6px 0;
}

.home-landing .ai-md blockquote p {
    margin: 0;
}

.home-landing .ai-md a {
    color: var(--home-blue);
    text-decoration: underline;
    text-decoration-color: rgba(37, 99, 235, 0.3);
}

.home-landing .ai-md a:hover {
    text-decoration-color: var(--home-blue);
}

.home-landing .ai-md strong {
    font-weight: 700;
    color: var(--home-text);
}

.home-landing .ai-md hr {
    border: none;
    border-top: 1px solid #e2e8f0;
    margin: 12px 0;
}

.home-landing .ai-md table {
    border-collapse: collapse;
    width: 100%;
    margin: 8px 0;
    font-size: 13px;
}

.home-landing .ai-md th,
.home-landing .ai-md td {
    border: 1px solid #e2e8f0;
    padding: 6px 10px;
    text-align: left;
}

.home-landing .ai-md th {
    background: #f8fafc;
    font-weight: 600;
    color: var(--home-text);
}

.home-landing .ai-chat-msg-system .ai-chat-msg-text {
    background: rgba(241, 245, 249, 0.6);
    color: #64748b;
    font-size: 12px;
    font-family: 'SF Mono', 'Menlo', 'Consolas', monospace;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid rgba(226, 232, 240, 0.6);
    max-height: 120px;
    overflow-y: auto;
    word-break: break-all;
}

.home-landing .ai-chat-msg-tool {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0 2px;
}

.home-landing .ai-chat-tool-badge {
    display: inline-block;
    background: #eef4ff;
    color: var(--home-blue);
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    width: auto;
    height: auto;
    border-radius: 999px;
    border: 1px solid rgba(37, 99, 235, 0.15);
}

.home-landing .ai-chat-tool-status {
    font-size: 12px;
    color: #64748b;
}

.home-landing .ai-chat-msg-system .ai-chat-tool-status {
    color: #94a3b8;
}

.home-landing .ai-typing {
    display: inline-block;
    color: #94a3b8;
    font-style: italic;
    background: transparent;
    padding: 4px 0;
}

.home-landing .ai-typing::after {
    content: "";
    animation: ai-dots 1.2s steps(4, end) infinite;
}

@keyframes ai-dots {
    0%   { content: ""; }
    25%  { content: "."; }
    50%  { content: ".."; }
    75%  { content: "..."; }
    100% { content: ""; }
}

.home-landing .ai-chat-clear {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #94a3b8;
    cursor: pointer;
    font-size: 13px;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.2s;
}

.home-landing .ai-chat-clear:hover {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.06);
}

/* Product showcase carousel */
.home-landing .preview-images {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 48px auto 64px;
    padding: 0 24px;
    max-width: var(--home-max);
}

.home-landing .preview-images .big-box {
    border-radius: var(--home-radius-lg);
    box-shadow: var(--home-card-shadow);
    border: 1px solid rgba(255, 255, 255, 0.9);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-sizing: border-box;
}

.home-landing .preview-images .img-box {
    width: 100%;
    overflow: hidden;
}

.home-landing .arrowhead-box span.prev-image,
.home-landing .arrowhead-box span.next-image {
    color: var(--home-text);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    opacity: 0.95;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
    transition: border-color 0.2s, background 0.2s;
}

.home-landing .arrowhead-box span:hover {
    background: #fff;
    border-color: var(--home-blue);
}

.home-landing .swiper-box span {
    background-color: #cbd5e1;
    border-radius: 999px;
    height: 6px;
    transition: background 0.2s, width 0.3s;
}

.home-landing .thumb-list-item div {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.home-landing .thumb-list-item .selected {
    border: 2px solid var(--home-blue);
    box-shadow: 0 4px 16px var(--home-blue-glow);
}

/* Features grid */
.home-landing .home-main {
    max-width: var(--home-max, 1120px);
    margin: 0 auto;
    padding: 0 var(--home-padding-x, 24px);
}

.home-landing .home-main section {
    margin: 0;
    padding: 0 !important;
}

.home-landing section.odd,
.home-landing section.even {
    background: transparent !important;
}

.home-landing .feature {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 64px 0 !important;
}

.home-landing .feature-item {
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: var(--home-radius);
    padding: 28px 22px !important;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
    transition: transform 0.2s, box-shadow 0.2s;
    border-bottom: none !important;
}

.home-landing .feature-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--home-card-shadow);
}

.home-landing .feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--home-blue-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.home-landing .feature-icon .material-icons {
    color: var(--home-blue);
    font-size: 24px;
}

.home-landing .feature-title {
    font-size: 16px !important;
    font-weight: 700 !important;
    padding: 0 0 8px !important;
    color: var(--home-text);
    letter-spacing: -0.01em;
}

.home-landing .feature-detail {
    font-size: 13px !important;
    line-height: 1.65;
    color: var(--home-text-muted);
    padding: 0 !important;
    margin: 0 !important;
}

/* FAQ */
.home-landing .section.qa-sec {
    padding: 0 0 64px !important;
}

.home-landing .qa-section {
    background: transparent;
    border: none;
    box-shadow: none;
    overflow: visible;
}

.home-landing .qa-title {
    padding: 0 0 32px;
    margin: 0;
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    color: var(--home-text);
    border-bottom: none;
    background: transparent;
    text-align: center;
    letter-spacing: -0.02em;
}

.home-landing .qa-list {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 !important;
    border-radius: 0;
}

.home-landing .qa-item {
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: 14px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
    border-bottom: none !important;
}

.home-landing .qa-item:has(.qa-arrow.up) {
    border-color: rgba(37, 99, 235, 0.25);
    box-shadow: 0 8px 30px var(--home-blue-glow);
}

.home-landing .qa-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    gap: 16px;
    transition: background 0.2s;
}

.home-landing .qa-item:has(.qa-arrow.up) .qa-question {
    background: var(--home-blue-light);
    color: var(--home-blue-dark);
}

.home-landing .qa-question:hover {
    background: #f8fafc;
}

.home-landing .qa-item:has(.qa-arrow.up) .qa-question:hover {
    background: var(--home-blue-light);
}

.home-landing .qa-question-text {
    height: auto !important;
    min-height: 24px;
    font-size: 15px !important;
    font-weight: 600;
    color: inherit;
}

.home-landing .qa-answer {
    color: var(--home-text-muted);
    font-size: 14px;
    line-height: 1.7;
    padding: 0 22px 18px !important;
    margin-top: 0 !important;
}

.home-landing .qa-answer a {
    color: var(--home-blue);
}

.home-landing .qa-arrow {
    color: #94a3b8;
    transition: transform 0.2s, color 0.2s;
    flex-shrink: 0;
    margin: 0 !important;
    font-size: 22px !important;
}

.home-landing .qa-item:has(.qa-arrow.up) .qa-arrow {
    transform: rotate(90deg);
    color: var(--home-blue);
}

/* CTA band */
.home-landing .slogan-title {
    padding: 48px 0 !important;
    text-align: center;
}

.home-landing .slogan {
    font-size: 17px !important;
    line-height: 1.6;
    color: var(--home-text-muted);
    padding: 6px 0 !important;
    display: block;
    justify-content: center;
}

.home-landing .slogan a,
.home-landing .slogan .is-link {
    color: var(--home-blue) !important;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s, background 0.2s, transform 0.15s;
}

.home-landing .slogan a.is-link:not(.signup) {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    background: var(--home-blue);
    color: #fff !important;
    border-radius: 999px;
    margin-left: 8px;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

.home-landing .slogan a.is-link:not(.signup):hover {
    background: var(--home-blue-dark);
    text-decoration: none !important;
    transform: translateY(-1px);
}

.home-landing .slogan a:hover {
    color: var(--home-blue-dark) !important;
    text-decoration: underline;
}

.home-landing .slogan .is-link.signup {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    background: var(--home-blue);
    color: #fff !important;
    border-radius: 999px;
    margin: 0 6px;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

.home-landing .slogan .is-link.signup:hover {
    background: var(--home-blue-dark);
    text-decoration: none !important;
    transform: translateY(-1px);
}

.home-landing .slogan a.is-link + a.is-link {
    background: #fff;
    border: 1px solid #e2e8f0;
    color: var(--home-text) !important;
    box-shadow: none;
}

.home-landing .slogan a.is-link + a.is-link:hover {
    border-color: var(--home-blue);
    color: var(--home-blue) !important;
    background: var(--home-blue-light);
    text-decoration: none !important;
}

/* Footer */
.home-footer-band {
    width: 100%;
    background: #f1f5f9;
    border-top: 1px solid #e2e8f0;
    box-sizing: border-box;
}

.home-footer-inner {
    max-width: var(--home-max, 1120px);
    margin: 0 auto;
    padding: 56px var(--home-padding-x, 24px) 40px;
    box-sizing: border-box;
}

body.layout-default:has(.home-landing) .home-footer-band .extra-footer {
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    gap: 32px;
    background: transparent;
    border-top: none;
}

body.layout-default:has(.home-landing) .extra-footer-part .footer-part-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--home-text);
    padding-bottom: 12px;
}

body.layout-default:has(.home-landing) .extra-footer-part .footer-item a {
    color: var(--home-text-muted);
    font-size: 13px;
    transition: color 0.2s;
}

body.layout-default:has(.home-landing) .extra-footer-part .footer-item a:hover {
    color: var(--home-blue);
}

body.layout-default:has(.home-landing) .extra-footer .product-title {
    border-top: none;
}

body.layout-default:has(.home-landing) .extra-footer .product-title span {
    color: var(--home-text-muted);
    font-weight: 500;
    font-size: 13px;
}

/* Email modal */
.home-landing .modal-container {
    width: 850px !important;
    max-width: 90%;
    padding: 30px;
    border-radius: var(--home-radius);
}

.home-landing .modal-body .field {
    margin-bottom: 12px;
}

.home-landing .modal-body .label {
    font-weight: 600;
    margin-bottom: 4px;
    display: block;
}

.home-landing .email-textarea {
    min-height: 250px !important;
}

.home-landing .email-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 20px;
}

.home-landing .modal-header h1 {
    font-size: 24px;
    font-weight: bold;
}

/* Responsive */
@media (max-width: 960px) {
    .home-nav-links {
        display: none;
    }

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

@media (max-width: 640px) {
    .home-landing .ai-dash-container {
        padding: 40px 0 32px;
    }

    .home-landing .ai-chat-messages {
        max-height: 280px;
    }

    .home-landing .ai-chat-msg-role {
        width: 28px;
        height: 28px;
    }

    .home-landing .ai-chat-msg-text {
        font-size: 13px;
        padding: 8px 12px;
    }

    .home-landing .feature {
        grid-template-columns: 1fr;
        padding: 40px 0 !important;
    }

    .home-landing .preview-images {
        margin: 32px auto 48px;
    }
}
