:root {
    --bg-dark: #000;
    --bg-card: #000;
    --primary: #76b900;
    --primary-hover: #76b900;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border: rgba(255, 255, 255, 0.08);
    --pink: #76b900;
    --rose: #f43f5e;
    --blue: #3b82f6;
    --teal: #14b8a6;
    --purple: #8b5cf6;
    --purple-light: #c084fc;
    --orange: #f97316;
    --yellow: #eab308;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    background-image:
        radial-gradient(circle at 50% 0%, rgba(204, 255, 0, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 100% 50%, rgba(204, 255, 0, 0.03) 0%, transparent 30%);
}

.container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: #000;
    box-shadow: 0 0 15px rgba(204, 255, 0, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(204, 255, 0, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--text-muted);
    background-color: rgba(255, 255, 255, 0.05);
}

/* ===== Navbar ===== */
.navbar {
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
    background: rgba(7, 9, 14, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    object-fit: contain;
    width: 130px;
    height: auto;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-size: 14px;
    color: var(--text-muted);
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--text-main);
}

.nav-cta {
    display: none;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    padding: 4px;
}

/* ===== Modal ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: #fff;
    width: 90%;
    max-width: 500px;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    z-index: 10001;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
}

.modal-header h2 {
    color: #1a1a1a;
    font-size: 24px;
    margin-bottom: 10px;
}

.modal-header p {
    color: #666;
    font-size: 14px;
    margin-bottom: 25px;
}

.modal-form .form-group {
    margin-bottom: 15px;
    text-align: left;
}

.modal-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.modal-form input,
.modal-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
}

.modal-form input:focus,
.modal-form textarea:focus {
    outline: none;
    border-color: #e60012;
}

.w-full {
    width: 100%;
    margin-top: 10px;
}

/* ===== Footer ===== */
/* Footer */
.rosa-footer {
     background: linear-gradient(135deg, #1a2332 0%, #2c3e50 100%);
     color: #ffffff;
     padding: 40px 0 0 0;
     font-family: 'Inter', sans-serif;
     ;

}

.wrapper {
     max-width: 1350px;
     margin: 0 auto;
     padding: 0 20px;
}

.footer-main {
     display: grid;
     grid-template-columns: repeat(4, 1fr);
     gap: 40px;
     padding-bottom: 30px;
}

.footer-column {
     color: #ffffff;
}

.footer-column ul {
     list-style: none;
     padding-left: 0;
     text-align: left;
}

.footer-column ul li {
     margin-bottom: 8px;
     margin-left: 0;
}

.footer-column ul li a {
     color: #fafafa;
     text-decoration: none;
     font-size: 16px;
     line-height: 1.6;
     transition: color 0.3s ease;
}

.footer-column ul li a:hover {
     color: #00aaff;
}

.footer-column p {
     font-size: 16px;
     line-height: 1.6;
     margin-bottom: 8px;
}

.footer-column p strong {
     color: #ffffff;
     font-size: 16px;
}

/* Section title giống h3 */
.section-title {
     font-size: 16px;
     font-weight: 600;
     color: #ffffff;
     text-transform: uppercase;
     letter-spacing: 0.5px;
     margin-bottom: 15px;
     font-family: 'Inter', sans-serif;

}

/* Logo */
.logo_footer img {
     width: 250px;
     height: auto;
     margin-bottom: 17px;
}

/* Social icons */
.social-icons {
     display: flex;
     gap: 15px;
     margin-top: 15px;
     font-size: 30px;
}

.social-icons a {
     display: flex;
     align-items: center;
     justify-content: center;
     width: 35px;
     height: 35px;
     background: rgba(255, 255, 255, 0.1);
     border-radius: 50%;
     color: #ffffff;
     font-size: 24px;
     transition: all 0.3s ease;
}

.social-icons a:hover {
     background: #00aaff;
     transform: scale(1.1);
}

/* Contact info */
.contact-info {
     display: flex;
     align-items: center;
     margin-bottom: 8px;
}

.contact-info i {
     margin-right: 8px;
     width: 16px;
     color: #74b9ff;
}

/* Stats truy cập */
.stats p {
     font-size: 16px;
     color: #FFF;
     margin-bottom: 5px;
}

/* Footer bottom */
.footer-bottom {
     border-top: 1px solid rgba(255, 255, 255, 0.1);
     padding: 10px 0;
     text-align: center;
}

.footer-bottom p {
     font-size: 16px;
}

.footer-bottom a {
     color: #0080ff;
     text-decoration: none;
}

/* Contact fixed (chatbot + social) */
.contact-fixed {
     position: fixed;
     bottom: 100px;
     right: 30px;
     display: flex;
     flex-direction: column;
     gap: 20px;
     z-index: 9999;
     align-items: flex-end;
}

/* Chatbot phóng to 200x200 */
.chabot_main {
     width: 230px;
     height: 230px;
     cursor: pointer;
     transition: transform 0.3s ease;
}

.chabot_main:hover {
     transform: scale(1.05);
}

.chabot_main img {
     width: 100%;
     height: 100%;
     object-fit: contain;
     /*border-radius: 50%;*/
     /*box-shadow: 0 4px 12px rgba(0,0,0,0.3);*/
}

/* Zalo giữ nguyên kích thước */
.zalo-link {
     display: block;
     width: 68px;
     height: 68px;
     transition: transform 0.3s ease;
}

.zalo-link:hover {
     transform: scale(1.1);
}

.zalo-link img {
     width: 100%;
     height: 100%;
     object-fit: contain;
     border-radius: 50%;
     box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Chatbot popup */
#chatbot-popup {
     display: none;
     position: fixed;
     bottom: 5px;
     right: 10px;
     width: 90vw;
     max-width: 650px;
     height: 80vh;
     max-height: 680px;
     border: 1px solid #ccc;
     background: #fff;
     box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
     border-radius: 8px;
     overflow: hidden;
     z-index: 999999999 !important;
}

#chatbot-popup div:first-child {
     background: #eee;
     padding: 5px;
     text-align: right;
     height: 45px;
}

#chatbot-popup iframe {
     border: none;
     width: 100%;
     height: 100%;
}

/* Responsive Design cho màn hình tablet/mobile thông thường */
@media (max-width: 768px) {
     header {
          padding: 8px 0;
     }

     .header-container {
          width: 100%;
          padding: 0 12px;
          gap: 8px;
     }

     .icon_header {
          width: 80px;
     }

     .theme-toggle button {
          width: 32px;
          height: 32px;
          font-size: 0.9rem;
     }

     .main-chat {
          padding: 8px;
     }

     .chat-box {
          height: calc(100vh - 90px);
          min-height: 400px;
          border-radius: 16px;
     }

     .chat-header {
          padding: 10px 12px;
          gap: 8px;
     }

     .chat-header h5 {
          font-size: 0.75rem;
     }

     .icon_chatbot {
          width: 28px;
          height: 28px;
          padding: 2px;
     }

     .btn-reload {
          width: 28px;
          height: 28px;
          font-size: 0.85rem;
     }

     .chat-body {
          padding: 12px;
          gap: 8px;
     }

     .chat-body::-webkit-scrollbar {
          width: 4px;
     }

     .message {
          max-width: 85%;
          padding: 10px 14px;
          font-size: 0.85rem;
          line-height: 1.4;
          border-radius: 12px;
          margin-bottom: 4px;
     }

     .message.user {
          border-bottom-right-radius: 4px;
     }

     .message.bot {
          border-bottom-left-radius: 4px;
     }

     .chat-footer {
          padding: 55px 12px;
          gap: 8px;
     }

     .chat-footer input {
          height: 36px;
          padding: 0 14px;
          font-size: 0.85rem;
          border-radius: 18px;
     }

     .chat-footer input::placeholder {
          font-size: 0.8rem;
     }

     .chat-footer button {
          width: 36px;
          height: 36px;
          font-size: 0.85rem;
     }

     .transition-wrapper,
     .transition-box {
          display: none !important;
     }
}

/* Responsive */
@media (max-width: 768px) {
     .footer-main {
          grid-template-columns: repeat(2, 1fr);
          gap: 30px;
     }

     .section-title {
          font-size: 15px;

     }

     /* Điều chỉnh chatbot trên mobile */
     .chabot_main {
          width: 120px;
          height: 120px;
     }

     .contact-fixed {
          bottom: 90px;
          right: 20px;
     }


}


@media (max-width: 480px) {
     .footer-main {
          grid-template-columns: 1fr;
          gap: 25px;
     }

     .section-title {
          font-size: 14px;
     }

     #chatbot-popup {
          width: 99vw !important;
          height: 70vh !important;
          right: 5px !important;
          bottom: 5px !important;
     }

     /* Điều chỉnh chatbot trên mobile nhỏ */
     .chabot_main {
          width: 150px;
          height: 150px;
     }

     .contact-fixed {
          bottom: 85px;
          right: 15px;
     }
}

/* ===== Mockup shell - dark theme ===== */
.chatbot-mockup {
     background: #1A1A1A;
     border-radius: 12px;
     overflow: hidden;
     color: #fff;
}

.mockup-header {
     background: #141414;
     display: flex;
     align-items: center;
     padding: 12px 16px;
     border-bottom: 1px solid #2A2A2A;
}

.mockup-title {
     color: #fff;
     font-weight: 600;
}

/* ===== Sidebar ===== */
.mockup-sidebar {
     background: #1A1A1A;
     border-right: 1px solid #2A2A2A;
     padding: 16px 8px;
}

.nav-item {
     display: flex;
     align-items: center;
     gap: 10px;
     padding: 10px 14px;
     border-radius: 8px;
     color: #9A9A9A;
     font-size: 14px;
     cursor: pointer;
}

.nav-item.active {
     background: rgba(139, 217, 74, 0.12);
     color: #8BD94A;
     border: 1px solid rgba(139, 217, 74, 0.3);
}

/* ===== Chat area ===== */
.mockup-main {
     background: #1E1E1E;
}

.chat-message .msg-content {
     background: #2A2A2A;
     color: #E8E8E8;
     border-radius: 12px;
     padding: 12px 16px;
}

.chat-message.user .msg-content {
     background: #2F3B2A;
     color: #E8E8E8;
     margin-left: auto;
}

/* Bot avatar - green lightning icon */
.bot-avatar {
     width: 32px;
     height: 32px;
     border-radius: 50%;
     background: #8BD94A;
     display: flex;
     align-items: center;
     justify-content: center;
     flex-shrink: 0;
}

.bot-avatar::before {
     content: "\e19c";
     /* ph-lightning */
     font-family: "Phosphor-Fill";
     color: #1A1A1A;
     font-size: 16px;
}

/* ===== Doc reference card (dark) ===== */
.doc-card {
     display: flex;
     align-items: center;
     gap: 8px;
     margin-top: 10px;
     padding: 8px 12px;
     background: #fff;
     border-radius: 8px;
     width: fit-content;
     font-size: 13px;
     color: #1A1A1A;
     font-weight: 500;
}

.doc-card .doc-icon {
     font-size: 18px;
     color: #E5484D;
}

/* ===== Meeting summary list (dark) ===== */
.summary-list {
     margin: 8px 0 0;
     padding-left: 4px;
     list-style: none;
     font-size: 13px;
     line-height: 1.8;
     color: #B5B5B5;
}

.summary-list li::before {
     content: "•";
     color: #8BD94A;
     margin-right: 8px;
}

/* ===== Audio player (dark) ===== */
.audio-player {
     display: flex;
     align-items: center;
     gap: 8px;
     margin-top: 10px;
     padding: 6px 10px;
     background: #2A2A2A;
     border-radius: 20px;
     width: fit-content;
}

.audio-player .play-icon {
     font-size: 22px;
     color: #6C8CFF;
}

.audio-progress {
     height: 2px;
     width: 90px;
     background-image: repeating-linear-gradient(to right,
               #6C8CFF 0px,
               #6C8CFF 3px,
               transparent 3px,
               transparent 6px);
     border-radius: 2px;
}

.audio-player .time {
     font-size: 12px;
     color: #9A9A9A;
}

/* Responsive adjustments */
@media (max-width: 1024px) {

     .hero,
     .chatbot-content,
     .strategy-content {
          flex-direction: column;
     }

     .hero-right,
     .chatbot-right,
     .s-right,
     .s-left {
          width: 100%;
          align-items: center;
     }

     .hero-left {
          max-width: 100%;
          text-align: center;
     }

     .hero-right {
          text-align: center;
     }

     .product-carousel {
          max-width: 380px;
     }

     .carousel-arrow {
          width: 30px;
          height: 30px;
          font-size: 14px;
     }

     .features-list {
          justify-content: center;
          text-align: left;
     }

     .hero-buttons {
          justify-content: center;
     }

     .s-left {
          text-align: center;
     }

     .s-logos {
          justify-content: flex-start;
     }

     .platform-cards,
     .audience-cards {
          flex-direction: column;
     }

     .cta-card {
          flex-direction: column;
          text-align: center;
          gap: 32px;
     }

     .footer-content {
          flex-direction: column;
          align-items: center;
          text-align: center;
     }

     .f-logo-area {
          flex-direction: column;
          gap: 16px;
     }

     .f-slogan {
          border-left: none;
          padding-left: 0;
          border-top: 1px solid var(--border);
          padding-top: 16px;
     }

     .strategy-img {
          transform: scale(1);
     }
}

@media (max-width: 768px) {
     .nav-toggle {
          display: flex;
          align-items: center;
          justify-content: center;
     }

     .nav-cta-desktop {
          display: none;
     }

     .nav-links {
          display: none;
          flex-direction: column;
          gap: 0;
          position: absolute;
          top: 100%;
          left: 0;
          right: 0;
          background: #0b0d13;
          border-bottom: 1px solid var(--border);
          padding: 8px 24px 16px;
     }

     .nav-links.active {
          display: flex;
     }

     .nav-links a {
          padding: 12px 0;
          border-bottom: 1px solid rgba(255, 255, 255, 0.06);
     }

     .nav-cta {
          display: block;
          text-align: center;
          margin-top: 16px;
     }

     .hero {
          padding: 40px 16px;
     }

     .hero-title {
          font-size: 36px;
     }

     .section-title {
          font-size: 28px;
     }

     .s-left .section-title {
          font-size: 32px;
     }

     .badge-label {
          font-size: 20px;
          gap: 8px;
     }

     .badge-label .number {
          width: 24px;
          height: 24px;
     }

     .s-logos {
          flex-wrap: wrap;
          justify-content: center;
          overflow-x: visible;
     }

     .s-logos::before {
          display: none;
     }

     .s-logo {
          width: 92px;
          height: 92px;
     }

     .s-logo .app-icon,
     .s-logo .n8n-nodes.small {
          width: 38px;
          height: 38px;
     }

     .features-list {
          flex-direction: column;
          align-items: center;
          text-align: center;
     }

     .feature-item {
          flex: 1 1 100%;
          flex-direction: column;
          align-items: center;
     }

     .mockup-body {
          flex-direction: column;
          height: auto;
     }

     .mockup-sidebar {
          width: 100%;
          display: flex;
          overflow-x: auto;
          border-right: none;
          border-bottom: 1px solid rgba(255, 255, 255, 0.05);
          padding: 8px 0;
     }

     .nav-item {
          white-space: nowrap;
     }

     .nav-item.active {
          border-right: none;
          border-bottom: 2px solid var(--primary);
          background: transparent;
     }

     .f-contact {
          flex-direction: column;
          gap: 16px;
     }

     .app-grid {
          justify-content: center;
     }

     .s-left .section-title {
          font-size: 26px;
     }

     .cta-left h2 {
          font-size: 24px;
     }

     .cta-right {
          flex-direction: column;
          width: 100%;
     }

     .cta-right .btn {
          width: 100%;
     }

     .modal-content {
          padding: 28px 20px;
          width: 92%;
     }

     .modal-header h2 {
          font-size: 20px;
     }

     .modal-form-actions {
          flex-direction: column;
     }

     .modal-header p {
          font-size: 13px;
     }

     .platform,
     .chatbot,
     .audience {
          padding: 48px 16px;
     }

     .strategy {
          padding: 56px 16px;
     }

     .cta-banner {
          padding: 40px 16px;
     }

     .strategy-left-content {
          margin-top: 0;
          align-self: center;
     }
}

@media (max-width: 480px) {
     .container {
          padding: 0 16px;
     }

     .nav-toggle {
          padding: 8px;
     }

     .hero-title {
          font-size: 30px;
     }

     .section-title {
          font-size: 24px;
     }

     .s-left .section-title {
          font-size: 22px;
     }

     .badge-label {
          font-size: 16px;
     }

     .badge-label .number {
          width: 20px;
          height: 20px;
          font-size: 13px;
     }

     .hero-buttons {
          flex-direction: column;
          width: 100%;
     }

     .hero-buttons .btn {
          width: 100%;
     }

     .n8n-logo {
          font-size: 24px;
     }

     .product-title {
          font-size: 24px;
     }

     .card {
          padding: 24px 16px;
     }

     .cta-card {
          padding: 28px 16px;
     }

     .cta-left h2 {
          font-size: 20px;
     }

     .input-actions {
          flex-wrap: wrap;
     }

     .wave-bars span:nth-child(n+8) {
          display: none;
     }

     .s-logos {
          justify-content: center;
          gap: 12px;
     }

     .s-logo {
          width: 76px;
          height: 76px;
          gap: 4px;
     }

     .s-logo .app-icon,
     .s-logo .n8n-nodes.small {
          width: 32px;
          height: 32px;
     }

     .s-logo span {
          font-size: 10px;
     }

     .nav-content {
          flex-wrap: wrap;
          gap: 16px;
          justify-content: space-between;
     }

     .nav-content .btn {
          font-size: 12px;
          padding: 8px 16px;
     }

     .logos-top {
          font-size: 20px;
          flex-wrap: wrap;
          justify-content: center;
     }
}


/* ===== CTA banner ===== */
.cta-banner {
    padding: 60px 24px;
}

.cta-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.cta-left h2 {
    font-size: 32px;
    margin-bottom: 12px;
}

.cta-left p {
    color: var(--text-muted);
    font-size: 16px;
}

.cta-right {
    display: flex;
    gap: 16px;
}

/* ===== Shared section helpers ===== */
.kh-section {
    padding: 64px 24px;
}

.eyebrow {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 16px;
}

.kh-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 20px;
    color: #fff;
}

.grad-text,
.grad-text-sm {
    background: linear-gradient(90deg, var(--pink), var(--purple-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ===== 1. Hero ===== */
.kh-hero {
    display: flex;
    /* align-items: center; */
    gap: 40px;
    padding: 48px 24px 64px;
}

.kh-hero-left {
    flex: 1;
    max-width: 560px;
}

.kh-hero-right {
    flex: 1.15;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(204, 255, 0, 0.08);
    border: 1px solid rgba(204, 255, 0, 0.25);
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 20px;
    margin-bottom: 24px;
}

.kh-hero-title {
    font-size: 46px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--text-main);
}

.kh-hero-desc {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.kh-trust {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 24px;
    padding: 0;
}

.kh-trust li {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
}

.kh-trust li i {
    color: var(--primary);
    font-size: 16px;
}

.hero-diagram {
    width: 100%;
    aspect-ratio: 1270 / 900;
    overflow: hidden;
    border-radius: 20px;
    background: #07090e;
    /* border: 1px solid var(--border); */
}

.hero-diagram img {
    width: 97%;
    height: auto;
    display: block;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 16px;
}

.hf-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.hf-item i {
    color: var(--primary);
    font-size: 22px;
}

.hf-item span {
    font-size: 15px;
    font-weight: 500;
    color: #f8fafc;
    line-height: 1.5;
}

/* ===== 2. Problem ===== */
.problem-head {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.problem-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 22px;
}

.problem-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(84, 125, 38, 0.1);
    border: 1px solid rgba(101, 218, 74, 0.25);
    color: var(--pink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
}

.problem-card h4 {
    font-size: 14.5px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
    color: var(--text-main);
}

.problem-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ===== 3. Solution ===== */
.solution-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 48px;
}

.solution-top {
    flex: 0 0 540px;
    max-width: 580px;
}

.solution-top p {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 24px;
}

.hub {
    flex: 1 1 620px;
    padding: 8px 0 0;
}

.tool-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tool-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 8px 18px;
    font-size: 14px;
    color: var(--text-main);
}

.tool-pill img {
    width: 26px;
    height: 26px;
    object-fit: contain;
    border-radius: 4px;
}

.tool-pill i {
    color: var(--purple-light);
    font-size: 16px;
}

/* --- Hub diagram --- */
.hub-grid {
    display: grid;
    grid-template-columns: 1fr 56px minmax(240px, 300px) 56px 1fr;
    grid-template-areas:
        "tl   ltl  center  rtl  tr"
        "bl   lbl  center  rbl  br";
    align-items: center;
    gap: 24px 0;
}

.hub-tl {
    grid-area: tl;
}

.hub-bl {
    grid-area: bl;
}

.hub-tr {
    grid-area: tr;
}

.hub-br {
    grid-area: br;
}

.hub-line-tl {
    grid-area: ltl;
}

.hub-line-bl {
    grid-area: lbl;
}

.hub-line-tr {
    grid-area: rtl;
}

.hub-line-br {
    grid-area: rbl;
}

.hub-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 20px;
    text-align: center;
    transition: transform .2s ease, border-color .2s ease;
}

.hub-card:hover {
    transform: translateY(-4px);
    border-color: rgba(139, 92, 246, .5);
}

.hub-avatar {
    width: 64px;
    height: 64px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: #0b0710;
    border: 1.5px solid #1b1030;
    box-shadow: 0 0 16px rgba(139, 92, 246, .35);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hub-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hub-card h4 {
    font-size: 14px;
    letter-spacing: .04em;
    color: var(--text-main);
    margin-bottom: 8px;
}

.hub-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

.hub-line {
    position: relative;
    height: 2px;
    background: repeating-linear-gradient(90deg,
            rgba(192, 132, 252, .6) 0 6px,
            transparent 6px 11px);
}

.hub-line::before,
.hub-line::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--purple-light);
    transform: translateY(-50%);
    box-shadow: 0 0 6px rgba(192, 132, 252, .8);
}

.hub-line::before {
    left: -3px;
}

.hub-line::after {
    right: -3px;
}

.hub-center {
    grid-area: center;
    position: relative;
    background: linear-gradient(180deg, #1b1030, #0b0710);
    border: 1.4px solid #1b1030;
    border-radius: 20px;
    padding: 24px 18px;
    box-shadow: 0 0 30px rgba(16, 15, 18, 0.18);
}

.hub-glow {
    position: absolute;
    left: 50%;
    bottom: -30px;
    width: 80%;
    height: 40px;
    transform: translateX(-50%);
    background: radial-gradient(ellipse at center, rgba(25, 24, 29, 0.5) 0%, transparent 70%);
    pointer-events: none;
}

.hub-logo {
    background: #0b0710;
    border: 1.4px solid var(--primary);
    border-radius: 8px;
    padding: 8px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hub-logo img {
    height: 22px;
    width: auto;
    object-fit: contain;
}

.hub-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #150f22;
    border: 1px solid rgba(192, 132, 252, .35);
    border-radius: 8px;
    padding: 10px 12px;
    margin-bottom: 10px;
    font-size: 13px;
    color: var(--text-main);
    text-align: left;
}

.hub-feature:last-child {
    margin-bottom: 0;
}

.hub-feature i {
    color: var(--purple-light);
    font-size: 16px;
    flex-shrink: 0;
}

.hub-perks {
    display: flex;
    margin-top: 56px;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
}

.hub-perk {
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 20px;
    border-left: 1px solid var(--border);
}

.hub-perk:first-child {
    border-left: none;
}

.hub-perk i {
    color: var(--purple-light);
    font-size: 22px;
    flex-shrink: 0;
    margin-top: 2px;
}

.hub-perk strong {
    display: block;
    font-size: 13px;
    letter-spacing: .03em;
    color: var(--text-main);
    margin-bottom: 4px;
}

.hub-perk span {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

.hub-tagline {
    margin-top: 20px;
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 40px;
    padding: 16px 24px;
    color: var(--text-muted);
    font-size: 14px;
}

.hub-tagline strong {
    color: var(--purple-light);
}

/* ===== 4. How it works ===== */
.section-sub {
    color: var(--text-muted);
    font-size: 15px;
    margin-top: -8px;
    margin-bottom: 8px;
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: stretch;
    gap: 16px;
    margin-top: 32px;
}

.step-card {
    position: relative;
    /* background: var(--bg-card); */
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px 26px 30px;
    text-align: center;
}

.step-number {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(204, 255, 0, 0.08);
    border: 1.5px solid var(--primary);
    color: var(--primary);
    font-weight: 700;
    font-size: 13px;
    box-shadow: 0 0 12px rgba(204, 255, 0, 0.35);
}

.step-illust-wrap {
    width: 100%;
    max-width: 220px;
    aspect-ratio: 1.28 / 1;
    margin: 0 auto 22px;
    border-radius: 18px;
    overflow: hidden;
    background: radial-gradient(circle at 50% 60%, rgba(139, 92, 246, .18), transparent 70%);
}

.step-illust-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.step-card h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
    color: var(--primary);
}

.step-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

.step-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 22px;
    filter: drop-shadow(0 0 6px rgba(204, 255, 0, .5));
}

.steps-trust {
    margin-top: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 18px 0;
}

.steps-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 72px;
    font-size: 14px;
    color: var(--text-main);
    border-left: 1px solid var(--border);
}

.steps-trust-item:first-child {
    border-left: none;
}

.steps-trust-item i {
    color: var(--primary);
    font-size: 20px;
}

.steps-trust-item img {
    width: 25px;
    height: 25px;
    object-fit: contain;
}

/* ===== 5. Core value ===== */
.value-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 32px;
}

.value-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 22px;
    transition: transform .2s ease, border-color .2s ease;
}

.value-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.18);
}

.value-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    margin-bottom: 16px;
}

.value-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.value-pink {
    background: rgba(236, 72, 153, 0.1);
    border: 1px solid rgba(236, 72, 153, 0.25);
    color: var(--pink);
}

.value-blue {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.25);
    color: var(--blue);
}

.value-teal {
    background: rgba(20, 184, 166, 0.1);
    border: 1px solid rgba(20, 184, 166, 0.25);
    color: var(--teal);
}

.value-purple {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.25);
    color: var(--purple-light);
}

.value-orange {
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.25);
    color: var(--orange);
}

.value-rose {
    background: rgba(244, 63, 94, 0.1);
    border: 1px solid rgba(244, 63, 94, 0.25);
    color: var(--rose);
}

.value-yellow {
    background: rgba(234, 179, 8, 0.1);
    border: 1px solid rgba(234, 179, 8, 0.25);
    color: var(--yellow);
}

.value-green {
    background: rgba(204, 255, 0, 0.1);
    border: 1px solid rgba(204, 255, 0, 0.25);
    color: var(--primary);
}

.value-card h4 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-main);
}

.value-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ===== 6. Cost ===== */
.cost-grid {
    display: grid;
    grid-template-columns: auto 1.4fr 1fr;
    align-items: center;
    gap: 40px;
    margin-top: 20px;
}

.cost-chart {
    position: relative;
    width: 200px;
}

.chart-arrow {
    position: absolute;
    top: -8px;
    right: 0;
    font-size: 26px;
    color: var(--purple-light);
    filter: drop-shadow(0 0 8px rgba(139, 92, 246, .6));
}

.bar-chart {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    height: 160px;
}

.bar-chart span {
    width: 28px;
    height: var(--h);
    border-radius: 6px 6px 0 0;
    background: linear-gradient(180deg, var(--purple-light), var(--purple));
    box-shadow: 0 0 18px rgba(139, 92, 246, .45);
}

.cost-main p {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 24px;
}

.cost-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.stat-card {
    flex: 1 1 calc(50% - 8px);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(139, 92, 246, 0.12);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: var(--purple-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    margin-bottom: 6px;
}

.stat-card strong {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
}

.stat-card span {
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ===== 7 & 8. Proof + FAQ ===== */
.proof-faq {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
}

.faq-visual img {
    width: 90%;
    border-radius: 16px;
    display: block;
}

.proof-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 20px;
}

.proof-card i {
    font-size: 24px;
    color: var(--purple-light);
    margin-bottom: 12px;
    display: inline-block;
}

.proof-card p {
    font-size: 16px;
    font-style: italic;
    color: var(--text-main);
    line-height: 1.6;
    margin-bottom: 12px;
}

.proof-card span {
    font-size: 13px;
    color: var(--text-muted);
}

.logo-strip{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:18px;
    flex-wrap:wrap;
    margin-top:32px;
}

.logo-chip{

    width:160px;
    height:72px;

    display:flex;
    justify-content:center;
    align-items:center;

    background:#131A22;

    border:1px solid rgba(255,255,255,.05);

    border-radius:18px;

    transition:.3s ease;
}

.logo-chip:hover{

    border-color:var(--primary);

    transform:translateY(-4px);

    box-shadow:0 0 20px rgba(132,255,0,.15);
}

.logo-chip img{

    max-width:110px;
    max-height:40px;

    object-fit:contain;

    opacity:.75;

    transition:.3s;
}

.logo-chip:hover img{

    opacity:1;
}

.logo-note {
    font-size: 12.5px;
    color: var(--text-muted);
    font-style: italic;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 18px 24px;
}

.faq-item summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    color: var(--text-main);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '\002B';
    font-size: 20px;
    color: var(--primary);
    margin-left: 16px;
}

.faq-item[open] summary::after {
    content: '\2212';
}

.faq-item p {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 12px;
    line-height: 1.6;
}

/* ===== 9. Final CTA ===== */
.kh-cta-card {
    display: flex;
    align-items: center;
    gap: 32px;
}

.kh-cta-icon {
    flex: 0 0 auto;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(139, 92, 246, 0.12);
    border: 1px solid rgba(139, 92, 246, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    color: var(--purple-light);
    font-size: 22px;
}

.kh-cta-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.kh-cta-card .cta-left {
    flex: 1;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .kh-hero {
        flex-direction: column;
    }

    .kh-hero-left {
        max-width: 100%;
        text-align: center;
    }

    .kh-trust,
    .hero-buttons {
        justify-content: center;
    }

    .problem-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .solution-top {
        flex-basis: 100%;
        max-width: 100%;
    }

    .hub {
        flex-basis: 100%;
    }

    .hub-line {
        display: none;
    }

    .hub-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "center center"
            "tl     tr"
            "bl     br";
        gap: 16px;
        max-width: 480px;
        margin: 0 auto;
    }

    .hub-perks {
        flex-direction: column;
    }

    .hub-perk {
        border-left: none;
        border-top: 1px solid var(--border);
    }

    .hub-perk:first-child {
        border-top: none;
    }

    .value-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cost-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cost-chart {
        margin: 0 auto;
    }

    .cost-stats {
        justify-content: center;
    }

    .proof-faq {
        grid-template-columns: 1fr;
    }

    .kh-cta-card {
        flex-direction: column;
        text-align: center;
    }

    .cta-card {
        flex-direction: column;
        text-align: center;
        gap: 32px;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .f-logo-area {
        flex-direction: column;
        gap: 16px;
    }

    .f-slogan {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid var(--border);
        padding-top: 16px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-cta-desktop {
        display: none;
    }

    .kh-section {
        padding: 48px 20px;
    }

    .kh-hero {
        padding: 32px 20px 48px;
    }

    .cta-banner {
        padding: 40px 20px;
    }

    .modal-content {
        padding: 28px 20px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        gap: 0;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #0b0d13;
        border-bottom: 1px solid var(--border);
        padding: 8px 24px 16px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .nav-cta {
        display: block;
        text-align: center;
        margin-top: 16px;
    }

    .kh-hero-title {
        font-size: 34px;
    }

    .kh-title {
        font-size: 26px;
    }

    .problem-grid,
    .hero-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

    .steps-trust {
        flex-direction: column;
        align-items: stretch;
    }

    .steps-trust-item {
        justify-content: center;
        border-left: none;
        border-top: 1px solid var(--border);
        padding: 12px 16px;
    }

    .steps-trust-item:first-child {
        border-top: none;
    }

    .value-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .value-card {
        padding: 16px;
    }

    .faq-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        align-items: start;
        gap: 10px;
    }

    .faq-item {
        padding: 14px 16px;
    }

    .faq-item summary {
        font-size: 13.5px;
    }

    .f-contact {
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .kh-hero-title {
        font-size: 28px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-features {
        gap: 10px;
    }

    .hf-item {
        padding: 12px 8px;
    }

    .problem-grid {
        gap: 12px;
    }

    .problem-card {
        padding: 18px;
    }

    .value-grid {
        gap: 10px;
    }

    .value-card {
        padding: 14px;
    }

    .value-icon {
        width: 36px;
        height: 36px;
        margin-bottom: 12px;
    }

    .value-icon img {
        width: 22px;
        height: 22px;
    }

    .value-card h4 {
        font-size: 15px;
    }

    .value-card p {
        font-size: 12.5px;
    }

    .cost-stats {
        flex-direction: column;
    }

    .stat-card {
        flex: 1 1 100%;
    }

    .cta-card {
        padding: 32px 16px;
    }
}