 *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --green-dark:   #1a3d1e;
    --green-main:   #2e7d32;
    --green-mid:    #388e3c;
    --green-light:  #4caf50;
    --gold:         #c8a84b;
    --gold-light:   #e2c46a;
    --white:        #ffffff;
    --gray-bg:      #f4f6f4;
    --gray-text:    #555;
    --dark-bg:      #0d1f0f;
    --font-main:    'Montserrat', sans-serif;
    --font-body:    'Roboto', sans-serif;
  }

  body { font-family: var(--font-body); background: #fff; }

  /* ============================================
     SECTION A – HERO TEXT (nền sáng)
     ============================================ */
  .hero-text-section {
  /*    background:linear-gradient(170deg, #f0f5f0 0%, #e8f0e9 60%, #f5f5f0 100%);*/
    background: url('https://batgroup.vn/wp-content/uploads/2026/04/Asset-2.jpg');
    padding: 64px 20px 72px;
    position: relative;
    overflow: hidden;
  }

  /* Subtle diamond/grid pattern background */
  .hero-text-section::before {
    content: '';
    position: absolute;
    inset: 0;
   /*   background-image: 
      linear-gradient(rgba(46,125,50,0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(46,125,50,0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;*/
  }

  /* Large decorative circle top-right */
  .hero-text-section::after {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 380px; height: 380px;
    border-radius: 50%;
    border: 1px solid rgba(46,125,50,0.1);
    pointer-events: none;
  }

  .hero-text-inner {
    max-width: 960px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
  }

  .hero-text-inner .section-title {
    text-align: center;
    font-family: var(--font-main);
    font-size: 26px;
    font-weight: 800;
    color: var(--green-main);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 10px;
  }

  .hero-text-inner .section-sub {
    text-align: center;
    font-size: 15px;
    color: var(--gray-text);
    margin-bottom: 44px;
    font-weight: 400;
  }

  /* Accent line under subtitle */
  .accent-line {
    width: 52px; height: 3px;
    background: var(--green-main);
    margin: 10px auto 40px;
    border-radius: 2px;
  }

  .hero-text-body {
    background: rgba(255,255,255,0.7);
    border: 1px solid rgba(46,125,50,0.12);
    border-radius: 14px;
    padding: 36px 42px;
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  }

  .hero-para {
    font-size: 14px;
    line-height: 1.85;
    color: #444;
    margin-bottom: 20px;
  }

  .hero-para:last-child { margin-bottom: 0; }

  .hero-para strong {
    color: #1a1a1a;
    font-weight: 600;
  }


  /* ============================================
     SECTION B – BANNER XANH ĐẬM + TAGLINE
     ============================================ */
  .tagline-section {
    background: linear-gradient(120deg, #0a1a0c 0%, var(--green-dark) 45%, #0f2510 100%);
    padding: 68px 20px 72px;
    position: relative;
    overflow: hidden;
  }

  /* Subtle radial glow */
  .tagline-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 80% at 30% 50%, rgba(46,125,50,0.2) 0%, transparent 65%);
    pointer-events: none;
  }

  /* Top decorative line */
  .tagline-section::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--green-main), var(--gold), transparent);
  }

  .tagline-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
  }

  .tagline-left p {
    font-family: var(--font-main);
    font-size: 15px;
    font-weight: 400;
    color: rgba(255,255,255,0.65);
    margin-bottom: 22px;
    letter-spacing: 0.3px;
  }

  .tagline-lines {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .tagline-line {
    font-family: var(--font-main);
    font-size: clamp(22px, 3.5vw, 38px);
    font-weight: 900;
    color: var(--gold-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.2;
    /* Stroke effect */
    -webkit-text-stroke: 0.5px rgba(200,168,75,0.4);
  }

  /* BAT Group logo block */
  .tagline-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    min-width: 160px;
  }

  .logo-icon {
    width: 80px; height: 80px;
    position: relative;
  }

  /* CSS-drawn BAT logo shape */
  .logo-icon svg {
    width: 80px; height: 80px;
  }

  .logo-wordmark {
    text-align: center;
  }

  .logo-wordmark .bat {
    font-family: var(--font-main);
    font-size: 32px;
    font-weight: 900;
    color: var(--white);
    letter-spacing: 2px;
    line-height: 1;
  }

  .logo-wordmark .bat span {
    color: var(--green-light);
  }

  .logo-wordmark .group {
    font-family: var(--font-main);
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 3px;
  }

  .logo-wordmark .tagline-motto {
    font-family: var(--font-main);
    font-size: 10px;
    font-weight: 500;
    color: var(--gold);
    letter-spacing: 3px;
    margin-top: 4px;
  }


  /* ============================================
     SECTION C – 3 FEATURE CARDS
     ============================================ */
  .features-section {
    background: var(--gray-bg);
    padding: 72px 20px 80px;
  }

  .features-inner {
    max-width: 1100px;
    margin: 0 auto;
  }

  .features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .feature-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.22s, box-shadow 0.22s;
    border: 1px solid rgba(46,125,50,0.08);
  }

  .feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 36px rgba(0,0,0,0.13);
  }

  .feature-card-header {
    padding: 18px 20px 16px;
    border-bottom: 1.5px solid rgba(46,125,50,0.1);
    background: rgba(46,125,50,0.03);
  }

  .feature-card-title {
    font-family: var(--font-main);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--green-main);
    text-transform: uppercase;
    text-align: center;
  }

  .feature-card-img {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #c8d8ca;
  }

  .feature-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s;
  }

  .feature-card:hover .feature-card-img img { transform: scale(1.06); }

  .feature-card-body {
    padding: 22px 22px 26px;
  }

  .feature-bullet-list {
    list-style: none;
  }

  .feature-bullet-list li {
    font-size: 13.5px;
    color: #444;
    line-height: 1.5;
    padding: 7px 0 7px 20px;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
  }

  .feature-bullet-list li:last-child { border-bottom: none; }

  .feature-bullet-list li::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--green-main);
  }


  /* ============================================
     SECTION D – DASHBOARD MOCKUP
     ============================================ */
  .dashboard-section {
    background: #0e0e14;
    padding: 64px 20px 72px;
    position: relative;
    overflow: hidden;
  }

  .dashboard-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(46,125,50,0.12) 0%, transparent 60%);
    pointer-events: none;
  }

  .dashboard-inner {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
  }

  .dashboard-title {
    text-align: center;
    font-family: var(--font-main);
    font-size: 20px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 32px;
  }

  /* Outer browser/app frame */
  .dashboard-frame {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.08);
    background: #1a1a2e;
  }

  /* Title bar */
  .dash-titlebar {
    background: #12122a;
    padding: 0 16px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }

  .dash-titlebar-left {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .dash-app-logo {
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--green-main);
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 700; color: #fff;
    font-family: var(--font-main);
  }

  .dash-project-name {
    font-family: var(--font-main);
    font-size: 12px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.5px;
  }

  .dash-status-pills {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .dash-pill {
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 600;
    font-family: var(--font-main);
    letter-spacing: 0.3px;
  }

  .dash-pill.online { background: rgba(46,125,50,0.25); color: #4caf50; border: 1px solid rgba(76,175,80,0.3); }
  .dash-pill.offline { background: rgba(244,67,54,0.2); color: #ef5350; border: 1px solid rgba(239,83,80,0.3); }
  .dash-pill.pending { background: rgba(255,193,7,0.2); color: #ffc107; border: 1px solid rgba(255,193,7,0.3); }

  .dash-time {
    font-family: 'Courier New', monospace;
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    letter-spacing: 1px;
  }

  /* Main dashboard body */
  .dash-body {
    display: grid;
    grid-template-columns: 160px 1fr;
    min-height: 420px;
  }

  /* Sidebar */
  .dash-sidebar {
    background: #12122a;
    border-right: 1px solid rgba(255,255,255,0.07);
    padding: 12px 0;
  }

  .dash-sidebar-section {
    padding: 6px 14px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.35);
    text-transform: uppercase;
    margin-top: 8px;
  }

  .dash-sidebar-item {
    padding: 8px 14px;
    font-size: 12px;
    color: rgba(255,255,255,0.55);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.15s, color 0.15s;
    border-left: 2px solid transparent;
  }

  .dash-sidebar-item:hover { background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.85); }
  .dash-sidebar-item.active { background: rgba(46,125,50,0.15); color: var(--green-light); border-left-color: var(--green-main); font-weight: 600; }

  .dash-sidebar-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
  }
  .dash-sidebar-dot.green { background: #4caf50; }
  .dash-sidebar-dot.red { background: #ef5350; }
  .dash-sidebar-dot.gray { background: #666; }

  /* Camera grid */
  .dash-content {
    background: #16162c;
    padding: 12px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 8px;
  }

  .cam-cell {
    background: #0d0d1a;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255,255,255,0.07);
    min-height: 180px;
    display: flex;
    flex-direction: column;
  }

  /* Camera header bar */
  .cam-header {
    padding: 5px 10px;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    top: 0; left: 0; right: 0;
    z-index: 2;
  }

  .cam-label {
    font-size: 10px;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
    font-family: var(--font-main);
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 5px;
  }

  .live-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #4caf50;
    animation: blink 1.5s ease-in-out infinite;
  }

  @keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
  }

  .cam-location {
    font-size: 10px;
    color: rgba(255,255,255,0.45);
  }

  .cam-feed {
    flex: 1;
    overflow: hidden;
  }

  .cam-feed img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.88;
  }

  /* Offline camera placeholder */
  .cam-offline {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #0d0d1a;
    padding-top: 28px;
  }

  .cam-offline-icon {
    width: 36px; height: 36px;
    border: 1.5px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
  }

  .cam-offline-icon svg { width: 20px; height: 20px; fill: rgba(255,255,255,0.25); }

  .cam-offline-text {
    font-size: 11px;
    color: rgba(255,255,255,0.3);
    text-align: center;
    line-height: 1.5;
  }

  .cam-offline-btn {
    padding: 6px 16px;
    border-radius: 4px;
    background: rgba(46,125,50,0.2);
    border: 1px solid rgba(46,125,50,0.4);
    color: var(--green-light);
    font-size: 11px;
    font-family: var(--font-main);
    cursor: pointer;
    transition: background 0.15s;
  }
  .cam-offline-btn:hover { background: rgba(46,125,50,0.35); }

  /* Bottom info bar */
  .cam-footer {
    padding: 4px 10px;
    background: rgba(0,0,0,0.45);
    position: absolute;
    bottom: 0; left: 0; right: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .cam-footer-text {
    font-size: 9px;
    color: rgba(255,255,255,0.45);
    font-family: monospace;
  }

  .cam-footer-icons {
    display: flex;
    gap: 4px;
  }

  .cam-icon-btn {
    width: 18px; height: 18px;
    border-radius: 3px;
    background: rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    font-size: 9px;
    color: rgba(255,255,255,0.5);
    transition: background 0.15s;
  }
  .cam-icon-btn:hover { background: rgba(46,125,50,0.4); }

  /* Bottom global bar */
  .dash-bottombar {
    background: #0e0e1e;
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 8px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .dash-live-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    font-family: var(--font-main);
    color: #4caf50;
    letter-spacing: 1px;
  }

  .dash-view-controls {
    display: flex;
    gap: 4px;
  }

  .view-btn {
    padding: 4px 8px;
    border-radius: 3px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    cursor: pointer;
    transition: background 0.15s;
    display: flex; gap: 2px;
  }
  .view-btn.active { background: rgba(46,125,50,0.3); border-color: rgba(76,175,80,0.4); }
  .view-btn span {
    width: 5px; height: 5px;
    background: rgba(255,255,255,0.4);
    border-radius: 1px;
    display: block;
  }
  .view-btn.active span { background: #4caf50; }


  /* ============================================
     RESPONSIVE
     ============================================ */
  @media (max-width: 900px) {
    .tagline-inner { grid-template-columns: 1fr; text-align: center; }
    .tagline-logo { margin: 0 auto; }
    .features-grid { grid-template-columns: 1fr; }
    .dash-body { grid-template-columns: 1fr; }
    .dash-sidebar { display: none; }
    .dash-content { grid-template-columns: repeat(2, 1fr); }
  }

  @media (max-width: 600px) {
    .hero-text-body { padding: 22px 18px; }
    .tagline-line { font-size: 20px; }
    .dash-content { grid-template-columns: 1fr; }
    .dash-status-pills { display: none; }
  }