/* components.css — Buttons, Cards, Header, Footer, Hero, Modules */
/* Layer: components */
@layer components {
  /* ===== BUTTONS ===== */
  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-family: var(--font-main); font-size: 15px; font-weight: 600;
    padding: 12px 28px; border-radius: var(--radius-md);
    border: 2px solid transparent; cursor: pointer;
    transition: all var(--transition-base); text-decoration: none; white-space: nowrap;
  }
  .btn-primary { background: var(--primary); color: var(--white); border-color: var(--primary); }
  .btn-primary:hover { background: var(--primary-light); border-color: var(--primary-light); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-md); }
  .btn-accent { background: var(--accent); color: var(--white); border-color: var(--accent); }
  .btn-accent:hover { background: var(--accent-light); border-color: var(--accent-light); color: var(--white); transform: translateY(-2px); }
  .btn-white { background: var(--white); color: var(--primary); border-color: var(--white); }
  .btn-white:hover { background: transparent; color: var(--white); border-color: var(--white); }
  .btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
  .btn-outline:hover { background: var(--primary); color: var(--white); }
  .btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
  .btn-outline-white:hover { background: var(--white); color: var(--primary); border-color: var(--white); }
  .btn-full { width: 100%; }
  .btn-lg { padding: 16px 36px; font-size: 17px; }
  .btn-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--primary); }
  .btn-link:hover { color: var(--primary-light); gap: 10px; }
  .btn-block { width: 100%; text-align: center; margin-bottom: var(--space-sm); }

  /* ===== SECTION TAG ===== */
  .section-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white); font-size: 12px; font-weight: 600;
    letter-spacing: 1px; text-transform: uppercase;
    padding: 4px 16px; border-radius: var(--radius-full);
    margin-bottom: var(--space-md);
  }

  /* ===== TOP BAR ===== */
  .top-bar {
    background: #0f172a;
    color: rgba(255,255,255,0.7);
    font-size: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    height: 36px;
    display: flex;
    flex-direction: column;
  }
  .top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 36px;
    padding: 0 var(--space-lg);
    max-width: var(--container-max);
    margin: 0 auto;
    width: 100%;
  }
  .top-bar-left { display: flex; align-items: center; gap: 6px; }
  .top-lang { color: rgba(255,255,255,0.5); text-decoration: none; font-weight: 600; letter-spacing: 0.5px; transition: color 0.2s; }
  .top-lang:hover { color: #fff; }
  .top-lang.active { color: #60a5fa; }
  .top-lang-sep { color: rgba(255,255,255,0.2); font-size: 10px; }
  .top-bar-center { display: flex; align-items: center; }
  .top-hotline { display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,0.5); }
  .top-hotline svg { color: #22c55e; }
  .top-hotline a { color: rgba(255,255,255,0.7); text-decoration: none; font-weight: 500; transition: color 0.2s; }
  .top-hotline a:hover { color: #60a5fa; }
  .top-bar-right { display: flex; align-items: center; gap: 16px; }
  .top-link { display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,0.6); text-decoration: none; transition: color 0.2s; font-weight: 500; }
  .top-link:hover { color: #60a5fa; }
  .top-search-btn { background: none; border: none; color: rgba(255,255,255,0.5); cursor: pointer; padding: 4px; display: flex; transition: color 0.2s; }
  .top-search-btn:hover { color: #60a5fa; }
  .top-consult-btn {
    display: inline-flex; align-items: center; gap: 6px;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: #fff !important; text-decoration: none;
    font-size: 11px; font-weight: 700; letter-spacing: 0.3px;
    padding: 5px 14px; border-radius: var(--radius-full);
    transition: all 0.3s ease;
    white-space: nowrap;
  }
  .top-consult-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(124,58,237,0.4); }
  .top-search-form {
    background: #1e293b;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 12px 0;
  }
  .top-search-form form { display: flex; gap: 8px; max-width: 600px; margin: 0 auto; }
  .top-search-form input {
    flex: 1; padding: 8px 16px;
    border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-md);
    background: rgba(255,255,255,0.06); color: #fff;
    font-size: 14px; outline: none;
  }
  .top-search-form input::placeholder { color: rgba(255,255,255,0.3); }
  .top-search-form input:focus { border-color: #60a5fa; }
  .top-search-form button {
    padding: 8px 20px; border: none; border-radius: var(--radius-md);
    background: var(--primary); color: #fff; font-weight: 600; font-size: 13px;
    cursor: pointer; transition: background 0.2s;
  }
  .top-search-form button:hover { background: var(--primary-light); }

  /* ===== HEADER ===== */
  .site-header {
    position: fixed; top: var(--topbar-height, 36px); left: 0; right: 0;
    height: var(--header-height);
    background: rgba(255,255,255,0.95); backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent; z-index: 1000;
    transition: all var(--transition-base);
  }
  .site-header.scrolled { background: rgba(255,255,255,0.98); border-bottom-color: var(--gray-200); box-shadow: var(--shadow-sm); }
  .header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
  .logo { display: flex; align-items: center; gap: 6px; text-decoration: none; }
  .logo-img { height: 40px; width: auto; max-width: 180px; }
  .logo-text { font-family: var(--font-heading); font-size: 28px; font-weight: 800; color: var(--primary); letter-spacing: -1px; }
  .logo-sub { font-size: 14px; font-weight: 600; color: var(--secondary); }
  .main-nav { display: flex; }
  .nav-list { display: flex; gap: 4px; }
  .nav-list li { position: relative; }
  .nav-list li a { display: flex; align-items: center; gap: 4px; padding: 8px 14px; font-size: 14px; font-weight: 500; color: var(--gray-800); border-radius: var(--radius-md); transition: all var(--transition-fast); }
  .nav-list li a:hover, .nav-list li.current-menu-item a { color: var(--primary); background: rgba(26,35,126,0.06); }
  .nav-list li ul { display: none; position: absolute; top: 100%; left: 0; min-width: 200px; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 8px; z-index: 100; }
  .nav-list li:hover > ul { display: block; }
  .nav-list li ul li a { padding: 8px 16px; font-size: 13px; }
  .header-actions { display: flex; align-items: center; gap: 12px; }

  .btn-portal {
    background: var(--accent); color: var(--white) !important;
    padding: 8px 20px; font-size: 13px; font-weight: 600; border-radius: var(--radius-full);
  }
  .btn-portal:hover { background: var(--accent-light); transform: translateY(-1px); }

  .mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
  .mobile-toggle .icon-menu { width: 24px; height: 24px; }
  .mobile-nav { display: none; position: fixed; top: 0; right: 0; width: 300px; height: 100vh; background: var(--white); box-shadow: var(--shadow-xl); z-index: 2000; transform: translateX(100%); transition: transform var(--transition-base); overflow-y: auto; }
  .mobile-nav.active { transform: translateX(0); }
  .mobile-nav-header { display: flex; align-items: center; justify-content: space-between; padding: 20px; border-bottom: 1px solid var(--gray-200); }
  .mobile-close { background: none; border: none; cursor: pointer; padding: 8px; }
  .mobile-nav-list { padding: 20px; }
  .mobile-menu li { margin: 4px 0; }
  .mobile-menu li a { display: block; padding: 12px 16px; font-size: 15px; font-weight: 500; color: var(--gray-800); border-radius: var(--radius-md); }
  .mobile-menu li a:hover { background: var(--gray-100); color: var(--primary); }
  .mobile-nav .btn-full { margin-top: 20px; }
  .mobile-nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1999; }
  .mobile-nav-overlay.active { display: block; }

  /* ===== HERO ===== */
  .hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; padding-top: var(--header-height); }
  .hero-bg { position: absolute; inset: 0; background: linear-gradient(135deg, #0f172a 0%, #1a237e 40%, #2563eb 100%); }
  .hero-bg::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
  .hero-content { position: relative; z-index: 1; text-align: center; color: var(--white); padding: var(--space-3xl) 0; }
  .hero-badge { display: inline-block; background: rgba(255,255,255,0.15); backdrop-filter: blur(8px); color: var(--white); font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; padding: 8px 24px; border-radius: var(--radius-full); border: 1px solid rgba(255,255,255,0.3); margin-bottom: var(--space-xl); }
  .hero-badge-ai { border-color: #a855f7; box-shadow: 0 0 20px rgba(168,85,247,0.3); }
  .hero-title { font-size: clamp(36px, 6vw, 64px); font-weight: 800; line-height: 1.1; margin-bottom: var(--space-lg); text-shadow: 0 2px 4px rgba(0,0,0,0.2); color: #ffffff; }
  .hero-subtitle { font-size: clamp(16px, 2vw, 20px); opacity: 0.9; margin-bottom: var(--space-2xl); max-width: 600px; margin-left: auto; margin-right: auto; }
  .hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: var(--space-3xl); }
  .hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-lg); max-width: 700px; margin: 0 auto; padding-top: var(--space-2xl); border-top: 1px solid rgba(255,255,255,0.15); }
  .stat-item { text-align: center; }
  .stat-num { display: block; font-family: var(--font-heading); font-size: 40px; font-weight: 800; line-height: 1; }
  .stat-plus { font-size: 28px; font-weight: 700; }
  .stat-label { display: block; font-size: 13px; opacity: 0.8; margin-top: 4px; }
  .hero-scroll { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 1; }
  .scroll-arrow { display: block; width: 24px; height: 24px; border-right: 2px solid rgba(255,255,255,0.5); border-bottom: 2px solid rgba(255,255,255,0.5); transform: rotate(45deg); animation: scrollBounce 2s infinite; }
  @keyframes scrollBounce { 0%,100% { transform: rotate(45deg) translateY(0); opacity: 0.5; } 50% { transform: rotate(45deg) translateY(8px); opacity: 1; } }

  /* ===== PAGE HERO ===== */
  .page-hero { padding: calc(var(--header-height) + var(--space-3xl)) 0 var(--space-3xl); background: linear-gradient(135deg, var(--primary-dark), var(--primary)); text-align: center; color: var(--white); }
  .page-hero h1 { font-size: 36px; color: var(--white); margin-top: var(--space-md); }
  .page-hero .section-tag { background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.2); }

  /* ===== PILLARS ===== */
  .pillars-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-lg); }
  .pillar-card { display: flex; flex-direction: column; align-items: center; text-align: center; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-xl); padding: var(--space-xl) var(--space-lg); text-decoration: none; transition: all var(--transition-base); cursor: pointer; }
  .pillar-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
  .pillar-icon { width: 72px; height: 72px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--pillar-color), color-mix(in srgb, var(--pillar-color), white 20%)); border-radius: var(--radius-lg); margin-bottom: var(--space-md); transition: transform var(--transition-base); }
  .pillar-card:hover .pillar-icon { transform: scale(1.1); }
  .pillar-icon .icon { width: 36px; height: 36px; color: var(--white); }
  .pillar-card h3 { font-size: 16px; font-weight: 700; margin-bottom: var(--space-sm); color: var(--gray-900); }
  .pillar-card p { font-size: 13px; color: var(--gray-600); line-height: 1.5; margin-bottom: var(--space-md); flex: 1; }
  .pillar-link { font-size: 13px; font-weight: 600; color: var(--primary); }
  .pillar-ai-badge { display: inline-block; font-size: 9px; font-weight: 700; padding: 2px 8px; border-radius: 12px; background: linear-gradient(135deg,#7c3aed,#a855f7); color: #fff; margin-top: 8px; }

  /* ===== HOUSE DIAGRAM ===== */
  .house-section { background: var(--gray-50); }
  .house-roof { background: linear-gradient(135deg, var(--primary), var(--primary-light)); border-radius: var(--radius-lg) var(--radius-lg) 0 0; padding: var(--space-xl) var(--space-2xl); text-align: center; color: var(--white); position: relative; }
  .house-roof::after { content: ''; position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%); border-left: 20px solid transparent; border-right: 20px solid transparent; border-top: 20px solid var(--primary-light); }
  .house-pillars { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; background: var(--gray-300); margin-top: 2px; }
  .house-pillar { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: var(--space-xl) var(--space-sm); background: var(--white); transition: all var(--transition-base); }
  .house-pillar:hover { background: color-mix(in srgb, var(--pillar-color), white 90%); }
  .pillar-abbr { font-family: var(--font-heading); font-size: 18px; font-weight: 800; color: var(--pillar-color); margin-bottom: 4px; }
  .pillar-name { font-size: 11px; font-weight: 500; color: var(--gray-600); text-align: center; }
  .house-foundation { background: linear-gradient(135deg, var(--gray-800), var(--gray-900)); border-radius: 0 0 var(--radius-lg) var(--radius-lg); padding: var(--space-lg); text-align: center; color: var(--white); font-size: 14px; font-weight: 500; letter-spacing: 0.5px; }

  /* ===== MODULES ===== */
  .modules-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }
  .module-card { display: flex; flex-direction: column; align-items: center; text-align: center; background: #ffffff; border: 1px solid #e2e8f0; border-radius: var(--radius-xl); padding: var(--space-xl); text-decoration: none; transition: all var(--transition-base); box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
  .module-card:hover { background: #f8fafc; border-color: #3b82f6; transform: translateY(-4px); box-shadow: 0 8px 24px rgba(59,130,246,0.15); }
  .module-icon { width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; background: #f1f5f9; border-radius: var(--radius-lg); margin-bottom: var(--space-md); }
  .module-icon .icon { width: 32px; height: 32px; color: #1e293b; }
  .module-card h3 { font-size: 18px; font-weight: 700; color: #1e293b; margin-bottom: 4px; }
  .module-card p { font-size: 13px; color: #64748b; margin-bottom: var(--space-md); }
  .module-status { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 1px; padding: 4px 12px; border-radius: var(--radius-full); margin-top: var(--space-sm); }
  .status-pilot { background: #fef3c7; color: #d97706; }
  .status-active { background: #dcfce7; color: #16a34a; }
  .status-soon { background: #f1f5f9; color: #64748b; }
  .module-ai-label { font-size: 9px; font-weight: 700; padding: 2px 6px; border-radius: 4px; background: #7c3aed; color: #fff; margin-left: 4px; vertical-align: middle; }

  /* ===== AI FEATURES SECTION ===== */
  .ai-features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-lg); }
  .ai-feature-card { background: linear-gradient(135deg, #0f172a, #1a237e); border-radius: var(--radius-xl); padding: var(--space-2xl); text-align: center; color: var(--white); border: 1px solid rgba(168,85,247,0.2); transition: all var(--transition-base); }
  .ai-feature-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(168,85,247,0.2); border-color: rgba(168,85,247,0.5); }
  .ai-feature-icon { width: 56px; height: 56px; margin: 0 auto var(--space-md); background: rgba(168,85,247,0.15); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; }
  .ai-feature-icon svg { width: 28px; height: 28px; stroke: #a855f7; }
  .ai-feature-card h3 { font-size: 16px; color: var(--white); margin-bottom: var(--space-sm); }
  .ai-feature-card p { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.5; }

  /* ===== COURSES ===== */
  .courses-section { background: var(--gray-50); }
  .course-card { background: var(--white); border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--gray-200); transition: all var(--transition-base); position: relative; }
  .course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
  .course-card.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
  .course-badge { position: absolute; top: 16px; right: 16px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; padding: 4px 12px; border-radius: var(--radius-full); background: var(--accent); color: var(--white); z-index: 1; }
  .course-header { position: relative; background: linear-gradient(135deg, var(--course-color), color-mix(in srgb, var(--course-color), black 20%)); padding: var(--space-xl); text-align: center; color: var(--white); }
  .course-header h3 { font-size: 24px; font-weight: 800; color: var(--white); margin-bottom: 4px; }
  .course-level { font-size: 14px; opacity: 0.9; }
  .course-price { text-align: center; margin-bottom: var(--space-lg); }
  .price-sale { display: block; font-family: var(--font-heading); font-size: 28px; font-weight: 800; color: var(--primary); }
  .price-original { font-size: 16px; color: var(--gray-600); text-decoration: line-through; }
  .course-card .btn-full { margin: 0 var(--space-xl) var(--space-xl); width: calc(100% - 48px); }

  /* ===== CASE STUDIES CAROUSEL ===== */
  .cases-carousel { overflow: hidden; }
  .cases-track { display: flex; gap: var(--space-lg); transition: transform var(--transition-slow); }
  .case-card { min-width: calc(33.333% - 16px); background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-xl); padding: var(--space-xl); flex-shrink: 0; }
  .case-quote { font-size: 16px; font-style: italic; color: var(--gray-800); line-height: 1.6; margin-bottom: var(--space-lg); padding-left: var(--space-lg); border-left: 3px solid var(--primary); }
  .case-company { margin-bottom: var(--space-lg); }
  .case-company strong { display: block; font-size: 16px; color: var(--gray-900); }
  .case-company span { font-size: 13px; color: var(--gray-600); }
  .case-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); margin-bottom: var(--space-lg); padding: var(--space-lg); background: var(--gray-50); border-radius: var(--radius-lg); }
  .result-item { text-align: center; }
  .result-num { display: block; font-family: var(--font-heading); font-size: 24px; font-weight: 800; color: var(--primary); }
  .result-label { display: block; font-size: 12px; color: var(--gray-600); margin-top: 2px; }
  .carousel-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: var(--space-xl); }
  .carousel-btn { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: var(--white); border: 1px solid var(--gray-300); border-radius: 50%; cursor: pointer; font-size: 18px; color: var(--gray-600); transition: all var(--transition-fast); }
  .carousel-btn:hover { background: var(--primary); border-color: var(--primary); color: var(--white); }
  .carousel-dots { display: flex; gap: 8px; }
  .carousel-dots .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gray-300); cursor: pointer; transition: all var(--transition-fast); }
  .carousel-dots .dot.active { background: var(--primary); width: 24px; border-radius: 4px; }

  /* ===== CLIENT LOGOS ===== */
  .clients-section { padding: var(--space-3xl) 0; overflow: hidden; background: linear-gradient(180deg, #f8faff 0%, #fff 40%, #f8faff 100%); }
  .clients-marquee { overflow: hidden; mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); padding: 16px 0; }
  .marquee-track { display: flex; gap: 40px; width: max-content; padding: 8px 0; }
  .marquee-left { animation: marquee-left 45s linear infinite; }
  .marquee-right { animation: marquee-right 45s linear infinite; }
  @keyframes marquee-left { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
  @keyframes marquee-right { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }
  .clients-marquee:hover .marquee-track { animation-play-state: paused; }
  .client-logo { display: flex; align-items: center; gap: 16px; min-width: 200px; padding: 12px 20px; background: #fff; border: 1px solid rgba(0,0,0,0.06); border-radius: 14px; cursor: pointer; transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); box-shadow: 0 1px 4px rgba(0,0,0,0.04); }
  .client-logo:hover { transform: scale(1.08) translateY(-4px); border-color: var(--brand, var(--primary)); box-shadow: 0 12px 32px -8px rgba(var(--brand, 37, 99, 235), 0.25), 0 0 0 1px var(--brand, var(--primary)); background: #fff; }
  .client-badge { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; font-family: var(--font-heading); font-size: 20px; font-weight: 700; color: #fff; flex-shrink: 0; transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); text-shadow: 0 1px 3px rgba(0,0,0,0.2); }
  .client-logo:hover .client-badge { transform: rotate(-8deg) scale(1.1); }
  .client-name { font-family: var(--font-heading); font-size: 28px; font-weight: 700; color: #1e293b; white-space: nowrap; letter-spacing: 0.5px; transition: color 0.3s ease; }
  .client-logo:hover .client-name { color: var(--brand, var(--primary)); }

  /* ===== CTA ===== */
  .cta-section { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); padding: var(--space-4xl) 0; }
  .cta-box { text-align: center; color: var(--white); max-width: 800px; margin: 0 auto; }
  .cta-box h2 { font-size: 38px; color: var(--white); margin-bottom: var(--space-xl); line-height: 1.3; }
  .cta-box p { font-size: 18px; opacity: 0.9; margin-bottom: var(--space-2xl); line-height: 1.7; }
  .cta-actions { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-top: var(--space-xl); }

  /* ===== FOOTER ===== */
  .site-footer { background: #111827; color: rgba(255,255,255,0.65); padding: 0; margin-top: 0; font-size: 14px; line-height: 1.7; }
  .footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; padding: 40px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .footer-col-about { display: flex; flex-direction: column; }
  .footer-brand-row { display: flex; align-items: center; gap: 20px; margin-bottom: 16px; }
  .footer-brand-item { text-decoration: none; }
  .brand-logo-text { display: inline-block; text-decoration: none; }
  .brand-cicc { font-size: 20px; font-weight: 800; color: #60a5fa; letter-spacing: 3px; }
  .brand-lss { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.45); letter-spacing: 1px; text-transform: uppercase; }
  .footer-main-logo { display: block; margin-bottom: 12px; }
  .footer-main-logo img { height: 42px; width: auto; filter: brightness(0) invert(1); opacity: 0.9; }
  .footer-desc { font-size: 13px; color: rgba(255,255,255,0.4); margin-bottom: 16px; line-height: 1.5; }
  .footer-social { display: flex; gap: 8px; margin-top: auto; }
  .footer-social a { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.06); border-radius: 8px; color: rgba(255,255,255,0.5); transition: all 0.2s; }
  .footer-social a:hover { background: #2563eb; color: #fff; }
  .footer-col h4 { font-size: 14px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 16px; }
  .footer-links { list-style: none; padding: 0; margin: 0; }
  .footer-links li { margin-bottom: 8px; }
  .footer-links a { font-size: 13px; color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s; }
  .footer-links a:hover { color: #60a5fa; }
  .footer-contact-list { display: flex; flex-direction: column; gap: 10px; }
  .footer-contact-item { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.5; }
  .footer-contact-item svg { margin-top: 2px; flex-shrink: 0; color: rgba(255,255,255,0.3); }
  .footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; font-size: 12px; color: rgba(255,255,255,0.35); }
  .footer-bottom p { margin: 0; }
  .footer-bottom-links { display: flex; gap: 20px; }
  .footer-bottom-links a { color: rgba(255,255,255,0.35); font-size: 12px; text-decoration: none; transition: color 0.2s; }
  .footer-bottom-links a:hover { color: #60a5fa; }

  /* ===== FLOATING ACTION BUTTONS — LEFT (Support) ===== */
  .fab-container {
    position: fixed;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 12px;
    z-index: 9999;
  }
  .fab-container-left { left: 20px; bottom: 40px; }
  .fab-container-right { right: 20px; bottom: 100px; }

  .fab-main {
    width: 56px; height: 56px;
    border-radius: 50%; border: none;
    color: #fff; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 16px rgba(124,58,237,0.4);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative; z-index: 2;
  }
  .fab-main-left { background: linear-gradient(135deg, #f97316, #fb923c); }
  .fab-main-left:hover { box-shadow: 0 6px 24px rgba(249,115,22,0.5); }
  .fab-main svg { width: 24px; height: 24px; }
  .fab-main:hover { transform: scale(1.1); }

  .fab-btn {
    width: 48px; height: 48px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    text-decoration: none; color: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0;
    transform: scale(0) translateY(20px);
    position: relative;
  }
  .fab-container.fab-open .fab-btn { opacity: 1; transform: scale(1) translateY(0); }
  .fab-container.fab-open .fab-btn:nth-child(2) { transition-delay: 0.05s; }
  .fab-container.fab-open .fab-btn:nth-child(3) { transition-delay: 0.1s; }
  .fab-container.fab-open .fab-btn:nth-child(4) { transition-delay: 0.15s; }
  .fab-btn:hover { transform: scale(1.15) !important; }
  .fab-btn .fab-icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
  .fab-btn .fab-icon svg { width: 22px; height: 22px; }

  .fab-label {
    position: absolute; white-space: nowrap;
    background: rgba(0,0,0,0.85); backdrop-filter: blur(8px);
    color: #fff; font-size: 12px; font-weight: 600;
    padding: 6px 14px; border-radius: 8px;
    opacity: 0; pointer-events: none; transition: all 0.2s;
  }
  .fab-container-left .fab-btn .fab-label { left: 58px; right: auto; }
  .fab-container-right .fab-btn .fab-label { right: 58px; left: auto; }
  .fab-btn:hover .fab-label { opacity: 1; }

  .fab-zalo .fab-icon { background: linear-gradient(135deg, #0068FF, #0091FF); }
  .fab-call .fab-icon { background: linear-gradient(135deg, #f97316, #fb923c); }
  .fab-schedule .fab-icon { background: linear-gradient(135deg, #16a34a, #22c55e); }

  /* ===== SUPER CiCC AI BUTTON — RIGHT (Standalone) ===== */
  .fab-ai-button {
    position: fixed;
    right: 20px;
    bottom: 100px;
    width: 56px; height: 56px;
    border-radius: 50%; border: none;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: #fff; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 24px rgba(124,58,237,0.45);
    z-index: 10000;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  }
  .fab-ai-button:hover { transform: scale(1.1) translateY(-3px); box-shadow: 0 10px 32px rgba(124,58,237,0.55); }
  .fab-ai-button svg { width: 28px; height: 28px; position: relative; z-index: 2; stroke: #fff; }

  /* ===== NEW AI BUTTON — "AI" TEXT + SPARKLES ===== */
  .fab-ai-button { display: flex; align-items: center; justify-content: center; }
  .fab-ai-text {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 900;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, #fff 0%, #e0e7ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 8px rgba(124,58,237,0.3);
  }
  .fab-ai-sparkle {
    position: absolute;
    font-size: 14px;
    color: #a855f7;
    animation: sparkleFloat 2s ease-in-out infinite;
    z-index: 3;
    filter: drop-shadow(0 0 6px #a855f7);
  }
  .fab-sparkle-1 { top: 8px; right: 8px; animation-delay: 0s; }
  .fab-sparkle-2 { bottom: 8px; left: 8px; animation-delay: 1s; }
  @keyframes sparkleFloat {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.8; }
    50% { transform: scale(1.3) rotate(180deg); opacity: 1; }
  }
  .fab-ai-pulse {
    position: absolute; inset: -4px; border-radius: 50%;
    border: 2px solid rgba(168,85,247,0.3);
    animation: aiPulse 2.5s ease-in-out infinite;
  }
  @keyframes aiPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0; }
  }
  .fab-ai-button.active { background: linear-gradient(135deg, #1a237e, #7c3aed); }

  .fab-ai-pulse {
    position: absolute; inset: -6px; border-radius: 50%;
    border: 2px solid rgba(168,85,247,0.4);
    animation: aiPulse 2s ease-in-out infinite;
  }
  @keyframes aiPulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.15); opacity: 0; }
  }

  /* ===== BACK TO TOP ===== */
  .back-to-top {
    position: fixed;
    right: 20px;
    bottom: 40px;
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(15,23,42,0.85);
    backdrop-filter: blur(8px);
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9998;
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  }
  .back-to-top.btt-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }
  .back-to-top:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 24px rgba(26,35,126,0.3);
  }
  .back-to-top svg { width: 20px; height: 20px; }

  /* ===== AI CHAT WIDGET ===== */
  .ai-chat-container {
    position: fixed;
    right: 24px;
    bottom: 110px;
    width: 380px;
    max-height: 580px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15), 0 0 0 1px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
  }
  .ai-chat-container.chat-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
  }
  .ai-chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: linear-gradient(135deg, #1a237e 0%, #7c3aed 50%, #3b82f6 100%);
    color: #fff;
  }
  .ai-chat-header-left { display: flex; align-items: center; gap: 12px; }
  .ai-chat-logo { font-size: 28px; filter: drop-shadow(0 0 8px rgba(168,85,247,0.5)); }
  .ai-chat-title { font-size: 16px; font-weight: 700; }
  .ai-chat-status { font-size: 11px; opacity: 0.8; display: flex; align-items: center; gap: 4px; }
  .ai-status-dot { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; display: inline-block; }
  .ai-chat-close {
    background: none; border: none; color: rgba(255,255,255,0.7); cursor: pointer; padding: 4px;
    transition: color 0.2s;
  }
  .ai-chat-close:hover { color: #fff; }
  .ai-chat-close svg { width: 20px; height: 20px; }
  .ai-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    max-height: 400px;
    background: #f8fafc;
  }
  .ai-chat-message {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    animation: fadeInUp 0.3s ease;
  }
  .ai-chat-message.user { flex-direction: row-reverse; }
  .ai-chat-avatar {
    width: 32px; height: 32px; min-width: 32px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    background: #f1f5f9; border-radius: 50%;
  }
  .ai-avatar-glow { background: linear-gradient(135deg, #7c3aed, #3b82f6); animation: glow 2s ease-in-out infinite; }
  @keyframes glow { 0%,100% { box-shadow: 0 0 0 0 rgba(168,85,247,0.4); } 50% { box-shadow: 0 0 0 10px rgba(168,85,247,0); } }
  @keyframes fadeInUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
  .ai-chat-bubble {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--gray-800);
    background: var(--white);
    border: 1px solid var(--gray-200);
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  }
  .ai-chat-message.user .ai-chat-bubble {
    background: linear-gradient(135deg, #7c3aed, #1a237e);
    color: #fff;
    border: none;
  }
  .ai-chat-welcome { text-align: center; padding: 24px 12px; }
  .ai-chat-welcome h4 { font-size: 16px; color: var(--gray-900); margin: 12px 0 8px; }
  .ai-chat-welcome p { font-size: 13px; color: var(--gray-600); line-height: 1.5; margin-bottom: 4px; }
  .ai-chat-quick-replies { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 16px; }
  .ai-quick-btn {
    padding: 6px 12px; border: 1px solid var(--gray-200); background: var(--white);
    border-radius: 12px; font-size: 12px; cursor: pointer; transition: all 0.2s;
    color: var(--gray-700); font-weight: 500;
  }
  .ai-quick-btn:hover { border-color: var(--primary); color: var(--primary); background: rgba(26,35,126,0.04); }
  .ai-chat-form {
    display: flex; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--gray-200); background: #fff;
  }
  .ai-chat-form input {
    flex: 1; padding: 10px 16px; border: 1px solid var(--gray-300); border-radius: var(--radius-full);
    font-size: 14px; outline: none; font-family: var(--font-main);
    transition: border-color 0.2s;
  }
  .ai-chat-form input:focus { border-color: var(--primary); }
  .ai-chat-form button {
    width: 40px; height: 40px; border-radius: 50%; border: none;
    background: linear-gradient(135deg, #7c3aed, #a855f7); color: #fff;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: all 0.2s; flex-shrink: 0;
  }
  .ai-chat-form button:hover { transform: scale(1.05); }
  .ai-chat-form button svg { width: 18px; height: 18px; }
  .ai-typing-bubble { display: flex; gap: 4px; padding: 12px 18px; }
  .ai-typing-bubble span {
    width: 6px; height: 6px; border-radius: 50%; background: var(--gray-400);
    animation: typing 1.4s infinite ease-in-out;
  }
  .ai-typing-bubble span:nth-child(2) { animation-delay: 0.2s; }
  .ai-typing-bubble span:nth-child(3) { animation-delay: 0.4s; }
  @keyframes typing { 0%,60%,100% { transform: translateY(0); } 30% { transform: translateY(-6px); } }
  .fab-ai-assistant.active { background: linear-gradient(135deg, #1a237e, #7c3aed); }

  /* ===== SERVICE CTA ===== */
  .service-cta-section { background: linear-gradient(135deg, #0f172a 0%, #1a237e 100%); }
  .service-cta-box { text-align: center; color: #fff; padding: var(--space-2xl) 0; }
  .service-cta-icon { font-size: 48px; margin-bottom: var(--space-md); }
  .service-cta-box h3 { font-size: 28px; color: #fff; margin-bottom: var(--space-md); }
  .service-cta-box h3 strong { color: #a855f7; }
  .service-cta-box p { font-size: 16px; opacity: 0.8; margin-bottom: var(--space-xl); line-height: 1.6; }
  .service-cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
  .service-cta-actions .btn { font-size: 15px; padding: 12px 24px; border-radius: var(--radius-lg); font-weight: 600; }

  /* ===== RESPONSIVE FAB + CHAT ===== */
  @media (max-width: 768px) {
    .fab-container-left { left: 12px; bottom: 28px; }
    .fab-container-left .fab-main { width: 48px; height: 48px; }
    .fab-container-left .fab-main svg { width: 20px; height: 20px; }
    .fab-container-left .fab-btn { width: 42px; height: 42px; }
    .fab-container-left .fab-btn .fab-icon { width: 42px; height: 42px; }
    .fab-container-left .fab-btn .fab-icon svg { width: 18px; height: 18px; }
    .fab-label { display: none; }
    .fab-ai-button { right: 12px; bottom: 80px; width: 50px; height: 50px; }
    .fab-ai-button svg { width: 24px; height: 24px; }
    .back-to-top { right: 12px; bottom: 28px; width: 38px; height: 38px; }
    .service-cta-box h3 { font-size: 22px; }
    .ai-chat-container {
      right: 8px; bottom: 0; left: 8px; width: auto;
      max-height: 80vh; border-radius: 20px 20px 0 0;
    }
    .ai-chat-messages { max-height: 50vh; }
  }
}
