.lead-band { background: linear-gradient(180deg,#fff5f4,#ffffff); border-bottom: 1px solid var(--line); }
.lead-band .container { padding-top: 30px; padding-bottom: 30px; }
.lead-text { max-width: 760px; font-size: 16px; line-height: 1.8; color: #555; }

.usecase-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 8px; }
.usecase { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px 14px; text-align: center; transition: transform .15s, box-shadow .15s, border-color .15s; }
.usecase:hover { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(226,35,26,.12); border-color: rgba(226,35,26,.3); }
.usecase .uc-ic { width: 54px; height: 54px; margin: 0 auto 12px; border-radius: 50%; background: rgba(226,35,26,.1); color: var(--yellow); display: grid; place-items: center; }
.usecase .uc-ic svg { width: 28px; height: 28px; }
.usecase span { font-size: 14px; font-weight: 700; color: var(--dark); }

.tier-wrap { background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.tier-table { width: 100%; border-collapse: collapse; }
.tier-table th { background: var(--dark); color: #fff; font-family: 'Fredoka', sans-serif; font-weight: 600; text-align: left; padding: 16px 22px; font-size: 15px; }
.tier-table td { padding: 16px 22px; border-bottom: 1px solid var(--line); font-size: 15px; color: #333; }
.tier-table tr:last-child td { border-bottom: none; }
.tier-table .disc { color: var(--yellow); font-weight: 800; font-size: 17px; }
.tier-table tr:hover td { background: #fff7f6; }

.faq { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 18px 22px; font-family: 'Nunito', sans-serif; font-size: 16px; font-weight: 700; color: var(--dark); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-q svg { width: 20px; height: 20px; flex: none; transition: transform .2s; color: var(--yellow); }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease, padding .25s ease; padding: 0 22px; color: #555; font-size: 15px; line-height: 1.7; }
.faq-item.open .faq-a { max-height: 320px; padding: 0 22px 18px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 10px 18px; border-radius: 30px; border: 1.5px solid var(--line); background: #fff; font-size: 14px; font-weight: 700; color: #444; transition: all .15s; }
.chip small { background: #f0f0f0; color: #888; border-radius: 20px; padding: 1px 8px; font-size: 12px; }
.chip:hover { border-color: var(--yellow); color: var(--yellow); }
.chip.active { background: var(--yellow); border-color: var(--yellow); color: #fff; }
.chip.active small { background: rgba(255,255,255,.25); color: #fff; }

.upload-field { border: 2px dashed #e0a9a5; border-radius: 14px; background: #fff7f6; padding: 22px; text-align: center; cursor: pointer; transition: border-color .15s, background .15s; display: block; }
.upload-field:hover { border-color: var(--yellow); background: #fff0ef; }
.upload-field svg { width: 38px; height: 38px; color: var(--yellow); margin: 0 auto 10px; }
.upload-field strong { display: block; font-size: 15px; color: var(--dark); }
.upload-field span { font-size: 13px; color: #888; }
.upload-field input { display: none; }
.upload-names { margin-top: 10px; font-size: 13px; color: var(--yellow); font-weight: 700; }

.custom-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.custom-card { display: flex; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.custom-card .cc-ic { width: 56px; height: 56px; flex: none; border-radius: 14px; background: #f4f5f7; color: var(--dark); display: grid; place-items: center; }
.custom-card .cc-ic svg { width: 30px; height: 30px; }
.custom-card h3 { font-family: 'Fredoka', sans-serif; font-size: 18px; color: var(--dark); margin-bottom: 6px; }
.custom-card p { font-size: 14px; color: #666; line-height: 1.6; }
.custom-card ul { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.custom-card li { font-size: 12px; font-weight: 700; color: #555; background: #f1f2f4; border-radius: 20px; padding: 3px 11px; }

.contact-hero { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 30px; }
.contact-hero .ch { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; text-align: center; }
.contact-hero .ch-ic { width: 52px; height: 52px; margin: 0 auto 12px; border-radius: 50%; background: var(--dark); color: #fff; display: grid; place-items: center; }
.contact-hero .ch-ic svg { width: 24px; height: 24px; }
.contact-hero h3 { font-size: 14px; color: var(--gray); font-weight: 700; margin-bottom: 5px; }
.contact-hero p { font-size: 15px; color: var(--dark); font-weight: 700; }
.contact-main { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: stretch; }
.contact-side { background: var(--dark); color: #fff; border-radius: 20px; padding: 34px; display: flex; flex-direction: column; justify-content: center; }
.contact-side h2 { font-family: 'Fredoka', sans-serif; font-size: 26px; margin-bottom: 12px; }
.contact-side p { color: #c7c7c7; line-height: 1.8; font-size: 15px; margin-bottom: 22px; }
.contact-side .cs-row { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-size: 15px; }
.contact-side .cs-row svg { width: 20px; height: 20px; color: var(--yellow); flex: none; }
.contact-side .cs-wa { margin-top: 10px; }

.legal-layout { display: grid; grid-template-columns: 250px 1fr; gap: 30px; align-items: start; }
.legal-nav { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px; position: sticky; top: 110px; display: flex; flex-direction: column; gap: 4px; }
.legal-nav a { padding: 11px 15px; border-radius: 10px; font-size: 14px; font-weight: 700; color: #555; }
.legal-nav a:hover { background: #f7f7f7; }
.legal-nav a.active { background: var(--yellow); color: #fff; }

@media (max-width: 1000px) {
    .usecase-grid { grid-template-columns: repeat(3, 1fr); }
    .custom-grid { grid-template-columns: 1fr; }
    .contact-hero { grid-template-columns: repeat(2, 1fr); }
    .contact-main { grid-template-columns: 1fr; }
    .legal-layout { grid-template-columns: 1fr; }
    .legal-nav { position: static; flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 600px) {
    .usecase-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-hero { grid-template-columns: 1fr; }
}

.footer-credit { background: #141414; text-align: center; padding: 13px; font-size: 13px; color: #8c8c8c; border-top: 1px solid rgba(255,255,255,.05); }
.footer-credit a { color: #cfcfcf; font-weight: 700; }
.footer-credit a:hover { color: #fff; }
.footer-credit .heart { color: #e0413a; }

.ai-widget { position: fixed; right: 24px; bottom: 24px; z-index: 900; }
.ai-fab { display: inline-flex; align-items: center; gap: 9px; height: 54px; padding: 0 20px 0 16px; border: none; border-radius: 30px; background: linear-gradient(135deg,#e2231a,#b3140d); color: #fff; font-family: 'Fredoka', sans-serif; font-size: 15px; font-weight: 600; cursor: pointer; box-shadow: 0 10px 26px rgba(226,35,26,.45); transition: transform .15s, box-shadow .2s; }
.ai-fab:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(226,35,26,.55); }
.ai-fab-icon { width: 24px; height: 24px; animation: aiPulse 2s ease-in-out infinite; }
@keyframes aiPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.15); } }
.ai-widget.open .ai-fab { transform: scale(.9); opacity: .85; }

.ai-panel { position: absolute; right: 0; bottom: 70px; width: 360px; max-width: calc(100vw - 40px); background: #fff; border-radius: 20px; box-shadow: 0 24px 60px rgba(0,0,0,.28); overflow: hidden; transform-origin: bottom right; transform: scale(.4) translateY(30px); opacity: 0; visibility: hidden; transition: transform .28s cubic-bezier(.2,.9,.3,1.2), opacity .22s ease, visibility .22s; }
.ai-widget.open .ai-panel { transform: scale(1) translateY(0); opacity: 1; visibility: visible; }

.ai-head { background: linear-gradient(135deg,#e2231a,#b3140d); color: #fff; padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; }
.ai-title { display: flex; align-items: center; gap: 9px; font-family: 'Fredoka', sans-serif; font-size: 17px; font-weight: 600; }
.ai-title svg { width: 22px; height: 22px; }
.ai-close { width: 32px; height: 32px; border: none; background: rgba(255,255,255,.18); color: #fff; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.ai-close svg { width: 16px; height: 16px; }
.ai-close:hover { background: rgba(255,255,255,.3); }

.ai-body { position: relative; }
.ai-view { display: none; padding: 18px; }
.ai-view.active { display: block; animation: aiFade .25s ease; }
@keyframes aiFade { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: none; } }

.ai-intro { font-size: 15px; color: #444; margin-bottom: 16px; }
.ai-choice { width: 100%; display: flex; align-items: center; gap: 12px; padding: 14px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; margin-bottom: 12px; text-align: left; transition: border-color .15s, box-shadow .15s, transform .1s; }
.ai-choice:hover { border-color: #e2231a; box-shadow: 0 8px 20px rgba(226,35,26,.12); transform: translateY(-1px); }
.ai-choice-ic { width: 44px; height: 44px; flex: none; border-radius: 12px; background: rgba(226,35,26,.1); color: #e2231a; display: grid; place-items: center; }
.ai-choice-ic svg { width: 24px; height: 24px; }
.ai-choice-tx { flex: 1; display: flex; flex-direction: column; }
.ai-choice-tx strong { font-size: 15px; color: var(--dark); }
.ai-choice-tx small { font-size: 12px; color: #888; }
.ai-arr { width: 18px; height: 18px; color: #bbb; flex: none; }
.ai-note { display: block; text-align: center; font-size: 12px; color: #aaa; margin-top: 6px; }

.ai-back { display: inline-flex; align-items: center; gap: 5px; background: none; border: none; color: #e2231a; font-family: inherit; font-size: 14px; font-weight: 700; cursor: pointer; margin-bottom: 14px; padding: 0; }
.ai-back svg { width: 16px; height: 16px; }

.ai-chat { height: 280px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding: 4px 4px 12px; }
.ai-msg { max-width: 80%; padding: 10px 13px; border-radius: 14px; font-size: 14px; line-height: 1.5; }
.ai-msg.bot { background: #f3f4f6; color: #333; border-bottom-left-radius: 4px; align-self: flex-start; }
.ai-msg.user { background: linear-gradient(135deg,#e2231a,#b3140d); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.ai-chatbar { display: flex; gap: 8px; border-top: 1px solid var(--line); padding-top: 12px; }
.ai-chatbar input { flex: 1; border: 1.5px solid var(--line); border-radius: 30px; padding: 0 16px; height: 44px; font-family: inherit; font-size: 14px; outline: none; }
.ai-chatbar input:focus { border-color: #e2231a; }
.ai-chatbar button { width: 44px; height: 44px; flex: none; border: none; border-radius: 50%; background: #e2231a; color: #fff; cursor: pointer; display: grid; place-items: center; }
.ai-chatbar button svg { width: 18px; height: 18px; }

.ai-label { font-size: 13px; font-weight: 700; color: var(--dark); margin: 4px 0 10px; }
.ai-prods { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.ai-prod { padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 30px; background: #fff; font-family: inherit; font-size: 13px; font-weight: 700; color: #555; cursor: pointer; transition: all .15s; }
.ai-prod:hover { border-color: #e2231a; color: #e2231a; }
.ai-prod.active { background: #e2231a; border-color: #e2231a; color: #fff; }
.ai-up { display: flex; flex-direction: column; align-items: center; gap: 6px; border: 2px dashed #e0a9a5; border-radius: 14px; background: #fff7f6; padding: 18px; text-align: center; cursor: pointer; margin-bottom: 14px; transition: border-color .15s; }
.ai-up:hover { border-color: #e2231a; }
.ai-up svg { width: 30px; height: 30px; color: #e2231a; }
.ai-up span { font-size: 13px; color: #888; }
.ai-up.has { border-color: #25a244; background: #f1faf3; }
.ai-up.has span { color: #1f8b3a; font-weight: 700; }
.ai-up input { display: none; }
.ai-ta { width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 14px; font-family: inherit; font-size: 14px; min-height: 70px; resize: vertical; outline: none; margin-bottom: 14px; }
.ai-ta:focus { border-color: #e2231a; }
.ai-generate { width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; height: 48px; border: none; border-radius: 12px; background: linear-gradient(135deg,#e2231a,#b3140d); color: #fff; font-family: 'Fredoka', sans-serif; font-size: 15px; font-weight: 600; cursor: pointer; }
.ai-generate svg { width: 20px; height: 20px; }
.ai-result { margin-top: 14px; font-size: 14px; color: #444; line-height: 1.6; }
.ai-result.show { background: #f3f4f6; border-radius: 12px; padding: 14px; }

@media (max-width: 480px) {
    .ai-fab span { display: none; }
    .ai-fab { padding: 0; width: 54px; justify-content: center; }
}
